function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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>