Govur University Logo
--> --> --> -->
...

A client gets a list of items from an API. How does a truly RESTful API tell the client where to go next to edit an item without the client knowing the URL beforehand?



A truly RESTful API guides the client using Hypermedia as the Engine of Application State, commonly abbreviated as HATEOAS. When the client retrieves a list of items or a specific item, the server's response for each item, or the collection as a whole, includes not only the data for that resource but also hypermedia controls, which are essentially links. These links explicitly tell the client what actions are available for that specific resource and where to find the corresponding endpoints. For instance, if a client fetches an item, the server's response will embed a li....

Log in to view the answer



Redundant Elements