wip: output, pipe
This commit is contained in:
28
xhttp/task.http
Normal file
28
xhttp/task.http
Normal file
@ -0,0 +1,28 @@
|
||||
### login
|
||||
POST localhost/api/user/auth/login
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"username": "admin",
|
||||
"password": "Foobar123"
|
||||
}
|
||||
|
||||
### create task 1
|
||||
POST localhost/api/task/create
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"task_name": "123",
|
||||
"task_timeout": 3600
|
||||
}
|
||||
|
||||
### create task 3
|
||||
POST localhost/api/task/create
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"task_name": "cron_123",
|
||||
"task_timeout": 1800,
|
||||
"task_run_type": 2,
|
||||
"task_cron": "5 0 * * *"
|
||||
}
|
Reference in New Issue
Block a user