function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tom SimmonsTom Simmons 

Help with REST

All, I`m new to Apex REST web services world and I`m struggling with a project of integration. What I have is a API documentation from our customer which contains cURL examples, fields and sample JSON response. At this point, all I have is a documentation. How can I make a call out to their api system to exchange data? Do I need to ask them userid and password to thier system to authenticate?

Error: Everytime I try to access the API from CURL, I get "curl: (6) Could not resolve host ".
SandhyaSandhya (Salesforce Developers) 
Hi Tom Simmons,

Please refer link below 
Using cURL in the REST Examples

https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_curl.htm 

http://www.jitendrazaa.com/blog/salesforce/using-curl-with-salesforce-rest-api/
 

Hope this helps you!

Thanks and Regards
Sandhya