Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once a resource endpoint has been defined, we need to define how clients will be able to interact with it by enabling one or more methods. For most database driven resources, CRUD functionality is achieved through the POST (create), GET (read), PUT (update), and DELETE (delete) methods. For our purposes, we'll enable the POST method for the customers resource endpoint (i.e., this is how clients can create a new customer) and we'll enable the GET, PUT, and DELETE methods for the customerID resource endpoint (i.e., this is how clients can read, update, and delete a specific customer). We'll start by (1) selecting the customers resource node from the Resource Manager tree view and (2) click on the POST checkbox under the Methods block:

...