add test curl
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
local curl_task = [[curl --location --request POST 'http://localhost:8080/api/v1/ts/create_task' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"data": ["abc", "def"],
|
||||
"task_type": 1
|
||||
}']]
|
||||
|
||||
os.execute(curl_task)
|
||||
Reference in New Issue
Block a user