Skip to content

Commit

Permalink
Add POST endpoint for task execution
Browse files Browse the repository at this point in the history
The changes introduce a new POST endpoint at '/execute'. This endpoint is designed for triggering and managing execution of tasks - now, it is possible to send parameters and a list of tasks to be executed in sequence via the body of the POST request.
  • Loading branch information
PiotrFerenc committed Apr 23, 2024
1 parent 2401bad commit ef704fd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions rest/controller.http
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,19 @@ POST localhost:5000/execute
}
]
}
###

POST localhost:5000/execute

{
"Parameters": {
"console.text":"hallo word"
},
"Tasks": [
{
"Sequence": 1,
"Name": "log",
"Action": "console"
}
]
}

0 comments on commit ef704fd

Please sign in to comment.