0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00
cowboy/guide/rest_flowcharts.md

43 lines
809 B
Markdown
Raw Normal View History

REST flowcharts
===============
This chapter will explain the REST handler state machine through
a number of different diagrams.
This chapter is still under construction.
Start
-----
![REST starting flowchart](rest_start.png)
OPTIONS method
--------------
![REST OPTIONS method flowchart](rest_options.png)
Content negotiation
-------------------
![REST content negotiation flowchart](rest_conneg.png)
GET and HEAD methods
--------------------
![REST GET/HEAD methods flowchart](rest_get_head.png)
PUT, POST and PATCH methods
---------------------------
![REST PUT/POST/PATCH methods flowchart](rest_put_post_patch.png)
DELETE method
-------------
![REST DELETE method flowchart](rest_delete.png)
Conditional requests
--------------------
![REST conditional requests flowchart](rest_cond.png)