Reusing the HTTP protocol

We defined endpoints in the previous subsection, Resources, but how do we interact with them? REST is built on top of the HTTP protocol and it uses HTTP methods, or verbs in the case of REST, to interact with the server. Let's take our endpoint from the previous example, /api/books, to understand how it is used.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.23.147