Hi all,
Can we somehow handle response data after the webhooking? Example from here could return a response of the API directly to the page.
https://docs.forestadmin.com/documentation/reference-guide/actions/create-and-manage-smart-actions
response.send({
webhook: { // This is the object that will be used to fire http calls.
url: 'http://my-company-name', // The url of the company providing the service.
method: 'POST', // The method you would like to use (typically a POST).
headers: { }, // You can add some headers if needed (you can remove it).
body: { // A body to send to the url (only JSON supported).
adminToken: 'your-admin-token',
},
},
});
But could we fetch the response data to do something with it and then send that data to the page?
Thanks