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
ChandrakanthChandrakanth 

REST : System.HttpResponse [Status=Not Found, StatusCode=404]

Hi Everyone, I am on to something where i need to invoke rest class written and exposed in my own developer edition org. 
Its basically a Rest Call ( with 'GET' Method ) and when i test same class invoking with Workbench with required parameters it is giving me the expected result. Now the problem is, I created a new Reomte Site Setting and pasted the URL from my own org - copied from the browser ( In this case remote site setting which i saved is " https://ckdomaintest-dev-ed.my.salesforce.com " and invoking the same method with same parameters is not executing properly. I am getting the follwing error. "System.HttpResponse [Status=Not Found, StatusCode=404] ", So I feel the remote site is not bieng recognized. can somebody please help me here. how do i call my own org.
Shashikant SharmaShashikant Sharma
Hi Chndrakanth,

It appears your END point is not correct.

Please share the code of your rest service I think than I could tell you exactaly what you need to do.

Thanks
Shashikant