Post request with application/x-www-form-urlencoded failed


I encountered the nearly the same issue as this thread Appgyver Rest Post API application/x-www-form-urlencoded doesn't work

The purpose is that I need to fetch JWT token beforehand. It’s neither a pure REST nor Odata API. I tried REST API direct integration and HTTP request but both failed.

I need to set request body type to “application/x-www-form-urlencoded” and set the value accordingly.

Either I set request body with static value “fieldA: valueA\nfieldB:valueB”
or with formula

The request payload shows that it’s encoded in some way

correspondingly, it should like this in Postman:

Please help.


I don’t think AppGyver doesn’t support this as this should be very basic.
is there any workaround?

Hmm I’m not familiar with this type of post request, but with a quick search it looks to me that the body is not in the correct format for this type – according to here the format should be something like fieldA=valueA&fieldB=valueB

Thank you for your reply. I just figured it out.
Even though I plan to send a x-www-form-urlencoded request, it still requires a JSON format string in the formula. Usually, we just provide a multiple-line string in the postman such as:
fieldA: value A
fieldB: valueB

AppGyver doesn’t think so. It will extract the json input and compose it with key-value pairs for us in the request. It’s confusing but that what it does.