Spring / Spring Boot
What is the HATEOAS Rest service?
As per wikipedia, Hypermedia as the Engine of Application State (HATEOAS) is a component of the REST application architecture that distinguishes it from other network application architectures. With HATEOAS, a client interacts with a network application which provide information dynamically through hypermedia. A REST client needs little to no prior knowledge about how to interact with an application or server beyond a generic understanding of hypermedia.
the JSON representation of the resource will be enriched with a list of hypermedia elements in a _links property. One form of this is a link pointing to the resource itself as shown below.
{ "content":"Hello, John! Welcome to Javapedia.net", "_links":{ "self":{ "href":"http://localhost:8080/greeting?name=John" } } }
More Related questions...