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
azu.shaik1.3965080575576013E12azu.shaik1.3965080575576013E12 

can some one can explain me how to setup rest web services in salesforce

Hi ,
i have a requirement to get data from php to salesforce. to do this we plan to do it using apex rest api .i have written apex for rest service after writing the class we need to do any configurations.
can some one can explain me how to setup rest web services in salesforce
Boris BachovskiBoris Bachovski
You need to set the user profile permissions used for the integration and also create an app (used for oAuth authentication). Then from the PHP server side, you need to authenticate to salesforce using one of the oAuth 2.0 flows (google: salesforce oauth flows), get the access token and start making the calls to Salesforce.
Rajesh PotnuruRajesh Potnuru
Hello

Please check the below link

https://developer.salesforce.com/page/Creating_REST_APIs_using_Apex_REST

Regards,
Rajesh Potnuru
Rajesh PotnuruRajesh Potnuru
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
sunny522sunny522
Hi azu,
    Go through the below link

http://kperisetla.blogspot.in/2012/05/restful-services-on-forcecom-through.html