In the fifth part of the series (which is also the last one, at least for now) we will take a look at the DELETE part.
DELETE, as its name suggests, is for deleting items and it is done by ID which means you don't need to send the entire object to the server via REST.
OperationREST methodSample URIReturn item(s)GET/books (all books)
/books/ (all books)
/books/12 (one book with ID = 12)Create a new itemPOST(you pass the ID in the object itself)
/books
/books/Update an itemPUT(you pass the I...
↧