Apex REST Annotations
Use these annotations to expose an Apex class as a RESTful Web service.
@ReadOnly@RestResource(urlMapping='/yourUrl'), where yourURL is a placeholder value@HttpDelete@HttpGet@HttpPatch@HttpPost@HttpPut
See Also
Use these annotations to expose an Apex class as a RESTful Web service.
@ReadOnly@RestResource (urlMapping='/yourUrl'), where yourURL is a placeholder value@HttpDelete@HttpGet@HttpPatch@HttpPost@HttpPutSee Also