From the course: Programming Foundations: APIs and Web Services

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

HATEOAS overview

HATEOAS overview

From the course: Programming Foundations: APIs and Web Services

Start my 1-month free trial

HATEOAS overview

- HATEOAS stands for hypermedia as the engine of application state. What a mouthful. It specifies that RESTful APIs should provide enough information to the client to interact with the server. This is different from SOAP based services where a client and a server interact through a fixed contract. HATEOAS is a complicated sounding term for a simple idea. A client interacts with a REST API entirely through the responses provided dynamically by the server. All REST APIs must have the HATEOAS principle to be genuine. This principle is what ensures that each time a request is made to the server and it returns a response, part of the information it contains will be the browsing hyperlinks associated to other client resources. A core principle of HATEOAS is that resources should be discoverable through the publication of links that point to the available resources. That way the responses themselves should tell you what you…

Contents