I have created the REST Resource to fetch the data from Salesforce. My Domain is also activated in our Org.
When I fetch the data using https://myDomain.my.salesforce.com/.../... it is returning me data but when I try with https://test.salesforce.com/.../... it is giving me below error
[ { "errorCode": "URL_NOT_RESET", "message": "Destination URL not reset. The URL returned from login must be set" } ]
Let me know your thoughts on this
Thanks