Using urlencoded call with API Connector

Hi folks,

I’m needing to connect to an API using this curl:

curl --location --request POST ‘https://df.uol.com.br/v2/cards/?email=INFORM_YOUR_EMAIL&token=INFORM_YOUR_TOKEN
–header ‘Accept: application/x-www-form-urlencoded’
–header ‘Accept: application/json’
–header ‘Content-Type: application/x-www-form-urlencoded’
–data-urlencode ‘sessionId=850728df66704b169ce0034265ace3e3’
–data-urlencode ‘amount=100.00’
–data-urlencode ‘cardNumber=4111111111111111’
–data-urlencode ‘cardBrand=visa’
–data-urlencode ‘cardCvv=123’
–data-urlencode ‘cardExpirationMonth=08’
–data-urlencode ‘cardExpirationYear=2020’

But I don’t know to insert data-urlencode on API Connector’s body.

Any suggestions for my case?

Solved.

It’s a call for PagSeguro API from Brazil. If anyone needs help with that, please get in touch with me.

1 Like

Hi @wagbrig

I am setting up the same Urlencoded Call with API Connector
also with your given instruction!
But I am not able to get response, it’s giving me one parameter missing error every time!

Would you Please help me with that!
I will be really glad to you!

Please & thanks for your consideration