4 ms·
Basically, instead of having a "User" response built like this: User { name: "Bob" id: 1 } You would have something like this: User { n
by axlee 9y ago
Basically, instead of having a "User" response built like this:
User {
name: "Bob"
id: 1
}
You would have something like this:
User {
name: "Bob"
href: "http://www.example.com/api/users/1"
}
- gabrielcsapo 9y agoThis kind of reminds me of hateoas. [1] [1] https://spring.io/understanding/HATEOAS https://spring.io/understanding/HATEOAS
- o1lab 9y agoThank you for your input. I will consider this feature going ahead.
- jbenner-radham 9y agoIsn’t that HATEOAS and not REST specifically? I don’t remember anything in Roy Fielding’s dissertation specifying any type of response body.