3 ms·
RESTful also never meant HTTP. REST is literally just transferring resource state explicitly, via some mutually-understood representation of a resource. JSON j
by andrewstuart2 11y ago
RESTful also never meant HTTP. REST is literally just transferring resource state explicitly, via some mutually-understood representation of a resource.
JSON just happens to be much more readable as well as pretty familiar for anybody who's written code in a C-like language, and especially familiar for JavaScript developers.
- jazzyk 11y ago>RESTful also never meant HTTP NOt in its original spirit, but it was developed in parallel with HTTP 1.1 (see https://en.wikipedia.org/wiki/Representational_state_transfer https://en.wikipedia.org/wiki/Representational_state_transfe...) and uses the same verbs (GET, POST, ..) as web browsers to transfer data. I agree with the posters who say that just using 4 verbs is CRUD-oriented and semantically just not rich enough to support often complex business operations.
- dragonwriter 11y ago> RESTful also never meant HTTP. Right. HTTP is a (the original and motivating, in fact) RESTful protocol, not a required lower-level protocol on which all RESTful protocols must rest.