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
Ram ChaturvediRam Chaturvedi 

I am calling php rest api and i am getting some error .

i am getting some error when i am trying to call rest  api of x2 engine .
07:32:01:949 USER_DEBUG [24]|DEBUG|{"httpHeaders":{"Content-Type":"application\/json; charset=utf-8"},"reqHeaders":{"Authorization":"Basic xxxxxxxxxxxxxx","SFDC_STACK_DEPTH":"1","User-Agent":"SFDC-Callout\/31.0","Pragma":"no-cache","Host":"trial.x2engine.com","Accept":"text\/html, image\/gif, image\/jpeg, *; q=.2, *\/*; q=.2","Via":"1.1 proxy-chi.net.salesforce.com (squid)","X-Forwarded-For":"10.238.12.23","Cache-Control":"no-cache","Connection":"keep-alive"},"message":"You do not have permission to perform this action..","error":true,"status":403}
Gaurav NirwalGaurav Nirwal
You should be using Apex HTTP Callouts to communicate with external REST APIs. You can start from here: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts_http.htm
Ram ChaturvediRam Chaturvedi
Thanks Matthews , i have been using above link , and then get these error .