Yes, Mendix can do this, but for application/x-www-form-urlencoded the setup has to be very specific.
What usually works is:
Use a normal POST Call REST, add a custom HTTP header
Content-Type = application/x-www-form-urlencoded
and in Request choose Custom request template with a body like:
grant_type=abcd&subject_token=1234
That is the pattern described in the Call REST docs for a custom plain-text body, and it is also the approach confirmed in multiple Mendix forum answers for form-urlencoded requests.
A few important details:
First, do not percent-encode the whole string.
You should only encode the values that need encoding, not the separators themselves. So = and & must stay as they are, otherwise the server can no longer parse the form body correctly.
Second, do not use query parameters for this unless the API explicitly wants them in the URL.
For x-www-form-urlencoded, the server normally expects the parameters in the request body, not in the endpoint URL. Forum examples that worked in Mendix used a POST body built with a custom request template, not export mappings or form-data.
Third, make sure the header is exactly:
application/x-www-form-urlencoded
not just x-www-form-urlencoded. That exact header value is what Mendix community examples report as working.
One more thing to keep in mind: if you are on an older Mendix 10 version, there was a known issue where custom request template bodies were serialized with ISO-8859-1 instead of UTF-8. That was fixed in Studio Pro 10.18. If your payload contains special characters, upgrading could matter.
So my recommendation would be:
Set the request as POST, add the exact Content-Type header, use Custom request template, and send:
grant_type=abcd&subject_token=1234
If a value can contain spaces, +, :, /, = or similar characters, encode that value only before putting it into the template.
If it still fails after that, the next thing I would verify is whether the API also expects an Accept header, an Authorizationheader, or a very specific parameter name/order, because at that point the problem is usually API-side expectations rather than Mendix not supporting the format.
If this resolves your issue, please mark it as accepted.