x-www-form-urlencoded API

I'm trying to use an external API where the 'Content-Type: application/x-www-form-urlencoded'.

This api takes three params:
username  // this is a text input
password. // this is a text input
json_input. //

the curl import is:

curl --location --request POST 'https://xxxxyy.com/abc/'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'username=aabbccdd'
--data-urlencode 'password=ddeeffss'
--data-urlencode 'json_input=[
{  // a big nested json object }
]


I'm not able to execute this API. I have already tried multiple ways like importing curl, etc but it is not working. The result I get is 
 {
headers: [],
result: false,
status: 0
}

However the same API when executed from postman works and gives the desired response.

How to execute this API in xano?
Working with APIs
2 replies