Resources
A resource is a fundamental concept in the world of REST. This can be anything that can be accessed and processed over the web. It can also be a simple HTML file, identity data, an image, a video, a text file, or a CSV file. These resources are uniquely identified by URI on the web. The client makes a request using this uniquely identifiable resource on the server, and the server responds with the resource in return.
In REST, we use some of the standard HTTP verbs to map to the CRUD operations of the services. The HTTP verbs themselves are varied. These include HTTP GET, HTTP POST, HTTP PUT, and HTTP DELETE.
HTTP GET is the most extensively used HTTP method on the web. If we load any website in a browser, the browser accordingly ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access