Offered By: IBM
Building a hypermedia-driven RESTful Java microservice
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
At 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"
}
Certificate
Certificate Offered
Estimated Effort
30 Minutes
Level
Beginner
Skills You Will Learn
Open Liberty, Jakarta EE
Language
English
Course Code
GPXX0MP0EN
Released
February 19, 2025