wip: output, pipe

This commit is contained in:
loveuer
2024-04-01 18:13:10 +08:00
parent 195fbcd308
commit 4c40041b3d
16 changed files with 445 additions and 59 deletions

28
xhttp/task.http Normal file
View 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 * * *"
}