Skip to main content
corrected spelling
Source Link
Vignex
  • 1.6k
  • 1
  • 15
  • 28

In youyour code, your urlMapping is '/v1/accounts/*' but you tried to hit /services/apexrest/AccountRaw. You should be using /services/apexrest/v1/accounts to hit or change your codecode's annotation to @RestResource(urlMapping='/AccountRaw/*')

In you code, your urlMapping is '/v1/accounts/*' but you tried to hit /services/apexrest/AccountRaw. You should be using /services/apexrest/v1/accounts to hit or change your code @RestResource(urlMapping='/AccountRaw/*')

In your code, your urlMapping is '/v1/accounts/*' but you tried to hit /services/apexrest/AccountRaw. You should be using /services/apexrest/v1/accounts to hit or change your code's annotation to @RestResource(urlMapping='/AccountRaw/*')

Source Link
Vignex
  • 1.6k
  • 1
  • 15
  • 28

In you code, your urlMapping is '/v1/accounts/*' but you tried to hit /services/apexrest/AccountRaw. You should be using /services/apexrest/v1/accounts to hit or change your code @RestResource(urlMapping='/AccountRaw/*')