Please enable JavaScript.
Coggle requires JavaScript to display documents.
rest - Coggle Diagram
rest
http
protocol
client send request
request contains
HTTP method
location of resource
headers
optional body
can be
HTML
Plain text
binary
XML
synchronous request/response application protocol
primary protocol for web
what?
set of architectural principal
for network based applications
principals
addressable resource
resource is the key abstraction
must be identifiable by URI
a uniform, constrained interface
use small set of well defined methods
methods manipulate resources
representation oriented
a resource can have different format
browser needs html
Java needs XML or JSON
communicates statelessly
these are easier to scale
Hypermedia As The Engine Of Application State (HATEOAS)
resources
Fielding thesis
https://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
http spec
https://www.rfc-editor.org/rfc/rfc9110.html#name-table-of-contents