You need to sign in to do that
Don't have an account?
User Users
session invalid while using rest api
Hello, I get INVALID_SESSION_ID error when I am trying to use https://ap2.salesforce.com/services/data/v37.0/sobjects/ url on browser to get list of objects.
If you want to get a list of all the objects then visit the below link.
https://developer.salesforce.com/page/Creating_REST_APIs_using_Apex_REST
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_what_is_rest_api.htm
Let me know if this resolves the issue :)
Thanks,
Amit
No, You can not directly access any Salesforce API url without authentication. If you want to achieve it then you can do this by creating a force.com site .
For more info refer the below link.
http://www.wadewegner.com/2013/03/creating-anonymous-rest-apis-with-salesforce-com/
Thanks,
Amit
How can I resolve this?