I need to invoke a REST class exposed in my own developer edition org. Its a GET Method, and when I test the endpoint using Workbench, I get the expected result.
Now the problem is, I created a new
Remote Site Setting and pasted the URL from my own org. 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 following error:
System.HttpResponse [Status=Not Found, StatusCode=404]
So I feel the remote site is not being recognized. How do I call my own org?