1

I am doing a trailhead Apex Web Services: https://trailhead.salesforce.com/modules/apex_integration_services/units/apex_integration_webservices

When I follow the tutorial at the part Apex REST Walkthrough I created the class CaseManager logged into workbench and try to make a case with the URI /services/apexrest/Cases/ I get the error:

Service not found at: /services/apexrest/Cases/

Why is this? With The Rest API tutorial I had no Issues

1
  • 2
    In case you've namespace enabled then add it in your request like this: /services/apexrest/your_namespace/Cases/ Nov 14 '17 at 9:32
2

This URL works fine - /services/data/v41.0/sobjects/Case

3
  • Thanks! for the answer tried that with cases 1 s too much
    – Latifa
    Nov 14 '17 at 9:41
  • @Rahul If I would do a get wouldnt my uri be: /services/data/v41.0/sobjects/Case/5000Y00000KpzCUQAZ ???
    – Latifa
    Nov 14 '17 at 14:05
  • I did not answer it, but yes that should be it. Best way to know is to check from Salesforce workbench's rest explorer.
    – Raul
    Nov 14 '17 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.