You need to sign in to do that
Don't have an account?

REST API Callouts to consume an external REST based API
Hi,
I want to use REST API callouts from Salesforce to an external website's REST based API to pull and push the data into the salesforce.
Could anyone please provide me the sample code if anybody has done that before?
regards,
Mani
I want to use REST API callouts from Salesforce to an external website's REST based API to pull and push the data into the salesforce.
Could anyone please provide me the sample code if anybody has done that before?
regards,
Mani
Hi Mani,
See the sample code in the thread below,
http://salesforce.stackexchange.com/questions/25852/calling-an-external-rest-service-in-apex
http://www.blacktabgroup.com/keeping-tabs/posts/2012/october/forcecom-development-calling-external-restful-services.aspx
http://blogforce9.blogspot.in/2013/09/salesforce-rest-webservices-part-i.html
Main doc: http://wiki.developerforce.com/page/REST_API
Regards,
Ashish
All Answers
Hi Mani,
See the sample code in the thread below,
http://salesforce.stackexchange.com/questions/25852/calling-an-external-rest-service-in-apex
http://www.blacktabgroup.com/keeping-tabs/posts/2012/october/forcecom-development-calling-external-restful-services.aspx
http://blogforce9.blogspot.in/2013/09/salesforce-rest-webservices-part-i.html
Main doc: http://wiki.developerforce.com/page/REST_API
Regards,
Ashish
This will help you for sure.Here rest api integration is performed by taking example of two salesforce system.
https://www.sfdc-lightning.com/2019/01/salesforce-rest-api-integration.html