+ Start a Discussion
vinayakamurthy15vinayakamurthy15 

rest

what is @RestResource(urlMapping)  why is urlMapping used?

vbsvbs
vinayaka - The annotation will identify the URI for the REST resource on your application server. For salesforce the standard URL where REST resources reside is:
https://<your-instance>.salesforce.com/services/apexrest/<your REST URI>