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
Shri RajShri Raj 

REST API Authentication

I'm trying to access a inhouse EndPoint in my company from Salesforce.com through HTTP POST Method. How does the Authentication work on the Salesforce side? Before accessing the End Point do i need setup anything else on the Salesforce side?  
Grazitti TeamGrazitti Team
Hi,

Please refer the link below:

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_restful_http.htm

NOTE:  Before you can access external servers from an endpoint or redirect endpoint using Apex or any other feature, you must add the remote site to a list of authorized remote sites in the Salesforce user interface. To do this, log in to Salesforce and from Setup, click Security Controls | Remote Site Settings.

Mark it as best answers if this helps you!

Regards!
Grazitti Team
www.grazitti.com
Deepak Kumar ShyoranDeepak Kumar Shyoran
If you have created a Account on Salesforce ( Force.com) platform and already have Username , password and Security token which will be required in Authentication then this post will help you to authenticate your app with Salesforce http://stackoverflow.com/questions/9258653/salesforce-rest-api-login

Please mark it as best solution to your problem if it does solve your problem.
Alex Miller 96Alex Miller 96
I cover this in great depth in my blog to understand how to connect with Salesforce and work with complex computational needs server-side: https://chicagocloudgroup.com/salesforce-rest-api-connected-apps-apex-rest-methods/