These code samples show you how to expose Apex classes and methods through the REST architecture and how to call
those resources from a client.
Apex REST Basic Code Sample: Provides an example of an Apex REST class with three methods that you can call to delete a record,
get a record, and update a record.