Offered By: IBM
Building a hypermedia-driven RESTful Java microservice using
You’ll explore how to use Hypermedia As The Engine Of Application State (HATEOAS) to drive your RESTful web service on Open Liberty.
Continue readingGuided Project
Open Liberty
60 EnrolledAt a Glance
You’ll explore how to use Hypermedia As The Engine Of Application State (HATEOAS) to drive your RESTful web service on Open Liberty.
http://localhost:9080/inventory/hosts
{ "foo": [ { "href": "http://localhost:9080/inventory/hosts/foo", "rel": "self" } ], "bar": [ { "href": "http://localhost:9080/inventory/hosts/bar", "rel": "self" } ], "*": [ { "href": "http://localhost:9080/inventory/hosts/*", "rel": "self" } ] }
What is HATEOAS?
Response JSON
"*": [ { "href": "http://localhost:9080/inventory/hosts/*", "rel": "self" } ]
Link types
{ "href": "http://localhost:9080/inventory/hosts/<hostname>", "rel": "self" }
{ "href": "http://<hostname>:9080/system/properties", "rel": "properties" }
Other formats
"_links": { "self": "http://localhost:9080/inventory/hosts/<hostname>", "properties": "http://<hostname>:9080/system/properties" }
Estimated Effort
30 Minutes
Level
Beginner
Skills You Will Learn
Jakarta EE, Open Liberty
Language
English
Course Code
GPXX0MP0EN