HTTP Request Batching
Learn how to running multiple HTTP Requests in one workflow step
(payload) => {
const { input } = payload;
return {
"lam.httpRequests": [
{
"method": "GET",
"url": "{{props.baseUrl}}/send-to-warehouse/premium",
"body": input.premiumOrders
},
{
"method": "GET",
"url": "{{props.baseUrl}}/send-to-warehouse/regular",
"pathParams": {
"itemId": input.regularOrders
}
}
]
};
}Last updated
Was this helpful?