Consuming HAL-based REST service with spring-hateoas

前端 未结 4 1347
一生所求
一生所求 2021-01-14 22:02

I\'m trying to consume a HAL-based REST service with the RestTemplate class. The response body looks like this:

{
  \"_embedded\": {
    \"school:teachers\":         


        
4条回答
  •  情话喂你
    2021-01-14 22:21

    I use Bowman to consume JSON+HAL resources in JAVA. This library greatly simplifies the consumption of resources comparing to RestTemplate as shown in this article.

提交回复
热议问题