From the course: Creating Your First Spring Boot Microservice

Unlock the full course today

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

HAL Browser

HAL Browser

From the course: Creating Your First Spring Boot Microservice

Start my 1-month free trial

HAL Browser

- [Instructor] At the beginning of this chapter, we learned that API should provide their own documentation. Spring Data REST provides this via the /profile endpoint. So if I do a get on 8080 of the application, what returns is our list of links and we have a profile link. I'm going to click down into that and let's see what we get with profile. And now let's actually look at the profile of packages. Our Spring Data REST application responds with metadata describing the schema and the methods available on this resource. This metadata follows the hypermedia application language standard. It's nice to have, but it's still raw data, and honestly, ugly. So, we're going to use something called the Spring Data REST HAL Browser and see what that gives us. Going to stop the application and open up our pom, and I'm adding this new dependency here. It's part of the Spring Data framework it's called…

Contents