Integrating Rest POST API of content-type : application/x-www/form-url-encoded and tried to integrate through Data rest api and HTTP Request of appgyver, but not able find how to map/send the form data and the request is always sent as json which is failing for the API.
1. Data Rest API Integration
Appgyver Data Rest post api is set up as “application/x-www-form-url-encoded”
2. HTTP Request
Tried to make the POST API calling through Appgyver HTTP request and content-type is set as form-urlencoded and request body is sent in json format.
Hi! For the latter, you are passing a text as response body – you should instead use a formula to pass it as an Object. I think HTTP Request is the only working way to do this, as discussed here and here.
For my own understanding, since I’ve never fully understood how this works, the request body is entered as JSON even when the type is set to x-www-form-urlencoded ? Im assuming the JSON request body gets converted to form-urlencoded format?