+ Start a Discussion
Dhilip DussaDhilip Dussa 

Help me rest api

Hi,
I need some help on rest api, i'm not getting how to conver the
--data-urlencode

curl -X POST https://api.twilio.com/2010-04-01/Accounts/ACe3cba3a08d9584987ecb9dc41946b15c/IncomingPhoneNumbers.json \ --data-urlencode "PhoneNumber=+15017122661" \ -u ACe3cba3a08d9584987ecb9dc41946b15c:your_auth_token

In endpoint i added the curl -X
anyone please help me

Thanks,
VinayVinay (Salesforce Developers) 
Hi Dhilip,

Try to check below links on --data-urlencode which can help you.

https://stackoverflow.com/questions/36626324/how-would-i-replicate-this-curl-get-request-with-data-urlencode-on-postman
https://stackoverflow.com/questions/52593017/convert-curl-to-postman-rest-call

Thanks,
Vinay Kumar