Workflow Samples
HTTP Backend API
This is an example of a workflow that demonstrates the following features:
- Responding to inbound HTTP POST requests that include a JSON body.
- Returning the received JSON payload as a JSON response.
- Using variables.
- Using expressions.
Sample CURL:
curl --location 'https://localhost:5001/workflows/users' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1,
"email": "bob@acme.com",
"name": "Bob Jones"
}'
Sample response:
{
"id": 1,
"email": "bob@acme.com",
"name": "Bob Jones"
}