3 ms·
You are supposed to define custom hypermedia types (instead of application/json which is generic, you have application/foobar+xml).
by dsego 3y ago
You are supposed to define custom hypermedia types (instead of application/json which is generic, you have application/foobar+xml).
- whstl 3y agoThat's probably the most important post here. Whenever this discussion comes up, people believe that HATEOAS is about magic clients consuming arbitrary JSON APIs. It's not. In HATEOAS the URLs can be arbitrary, but the format cannot.