+ Start a Discussion
Rakesh ERakesh E 

How to call RestResource created in Apex from outside salesforce.



i have created a apex RestResource class as mentioned in below link in my org.

but when i try to call this resorce from POSTMAN(rest lient in chrome) its giving me error as 


"message": "Session expired or invalid",


the link is : http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_restrequest.htm


i tried by using the URL : https://ap1.salesforce.com//services/apexrest/Account/0019000000B8nwt


and provided 1 parameter

Authorization : my session id which i got it from userInfo.getSessionID() method.


please let me know if anyone has worked on it and what is the mistake iam doing








Nicolás KacowiczNicolás Kacowicz
I would like to know the same thing. Hope it gets answered