Storing Credentials/Variables
Learn about how to store Credentials/Variables in Laminar with Configurations
Usage
(data) => {
// The body of the request is the output from the previous step (step_1)
const requestBody = data.step_1.data;
return {
"lam.httpRequest": {
"method": "POST",
- "url": "https://shipping-logistics-loic21.replit.app/api/orders",
+ "url": "{{config.shipping_api_base_url}}",
"headers": {
"Content-Type": "application/json"
},
"body": requestBody
}
};
}Dynamic configuration updates
Last updated
Was this helpful?