2

I am trying to create a new account record using post method in work bench. But I am unable to follow exact format of map url and it is giving the following error. Please suggest me a correct way how to do it or do I need any extra procedure to follow. Please suggest me. enter image description here

  • have you created a custom rest service class? when we create custom rest service then we use /services/apexrest/urlmapping – Ratan Paul May 19 '16 at 7:52
  • No @Ratan. I didn't create any rest service class. – KS Kumaar May 19 '16 at 7:56
  • cool then you need to use like Mr.Frodo mentioned in answer to create account record. – Ratan Paul May 19 '16 at 7:57
1

I am able to perform it this way

enter image description here

Note: You should try to grab the URL by GET method first.Then apply post on that URL.

  • please give an example for GET method, how to grab it? @Mr.Frodo – KS Kumaar May 19 '16 at 7:57
  • I would suggest you to try with the URL which i have applied first in POST method. – Mr.Frodo May 19 '16 at 8:03

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.