4 ms·
It's not RESTful if it doesn't use hypermedia. Look into HAL, it actually probably makes this server a lot easier to use and discover when dealing with things l
by treve 9y ago
It's not RESTful if it doesn't use hypermedia. Look into HAL, it actually probably makes this server a lot easier to use and discover when dealing with things like foreign keys.
- bmn__ 9y agoThere is not a single hyperlink or hypermedia control to be seen, prest is thoroughly disappointing. HAL gives you both links, so you can discover resources and transit between them, and URI templates, which are the controls to make the filtering stuff work.
- bpicolo 9y agoVery few people refer to the pedantic HATEOS version of "REST" when referring to REST these days (it's really just a repetitive no true scotsman argument now) , and that's fine. Almost nobody implements it as part of what's now considered a restful api.
- danellis 9y agoWhat is the non-HATEOS version of REST? Can you usefully define it?
- jholman 9y agoIn practice it means "HTTP, plus certain conventions about Method and Path that David Heinemeier Hansson happens to like". I still cannot figure out why anyone would ever want to meet such a standard, other than to trick the ignorant.
- treve 9y agoWhat do you consider a RESTful api?