Spring 为什么我们在春天需要居里夫妇

Spring 为什么我们在春天需要居里夫妇,spring,spring-hateoas,Spring,Spring Hateoas,我对什么是Spring的HATEOAS有基本的了解,还有那些基本的HETEOAS链接,比如: _links : { self: { href: "http://myhost/person/1" } } 我试着在网上搜索,但我不能真正了解居里在哈提奥斯是什么。我无法理解它存在的必要性。为什么需要它 curies: { name: "ex", href: "http://example.com/rels/{rel}", templated: true

我对什么是Spring的HATEOAS有基本的了解,还有那些基本的HETEOAS链接,比如:

 _links : {
     self: { href: "http://myhost/person/1" }
}
我试着在网上搜索,但我不能真正了解居里在哈提奥斯是什么。我无法理解它存在的必要性。为什么需要它

  curies: {
     name: "ex",
     href: "http://example.com/rels/{rel}",
     templated: true
},

居里提供了一个快捷方式或模板,用于在基于HAL的API响应中链接到API文档

阅读更多