timer
Crontab web service
API
Create A Timer Task
POST /api/tasks
{
"title": "An Alphanumeric Title",
"cronexp": "cron expression",
"url": "http://example.com/api/do",
"method": "post",
"headers": [
"Content-Type=application/json",
],
"body": "json bytes"
}
For cronexp
please refer to this.
List All Tasks
GET /api/tasks
Delete A Task
DELETE /api/task?t=title1
Get A Task
GET /api/task?t=title1