InterviewSolution
Saved Bookmarks
| 1. |
What is HATEOAS and why you need it? Can you give an Example Response for |
|
Answer» HATEOAS? The HATEOAS is the principle in which the API helps the CLIENT using the application by returning relevant information about the next possible STEPS together with a response. The specific style of formats helps the client to NAVIGATE the resource dynamically by traversing the hypermedia LINKS, which is the same as the user clicks the appropriate hyperlink to achieve a final goal. { " "departmentName": "Administration", "locationId": 1700, "managerId": 200, "links": [ { "rel": "employees", "type" : "GET" } ] } |
|