aboutsummaryrefslogtreecommitdiffstats
path: root/guide/rest_handlers.md
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-04-19 13:54:43 +0200
committerLoïc Hoguin <[email protected]>2013-04-19 13:54:43 +0200
commit109a1b822749a36595fd6cd55fbf5fb3b12d922a (patch)
treeb355be9aeda8c7baed9610ca6aa1e012bea719f1 /guide/rest_handlers.md
parent8d7350fa84a466f2d0246ab534a6d6c06cea005e (diff)
downloadcowboy-109a1b822749a36595fd6cd55fbf5fb3b12d922a.tar.gz
cowboy-109a1b822749a36595fd6cd55fbf5fb3b12d922a.tar.bz2
cowboy-109a1b822749a36595fd6cd55fbf5fb3b12d922a.zip
Add section about REST methods
Diffstat (limited to 'guide/rest_handlers.md')
-rw-r--r--guide/rest_handlers.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/guide/rest_handlers.md b/guide/rest_handlers.md
index 5ae6b88..d5997f9 100644
--- a/guide/rest_handlers.md
+++ b/guide/rest_handlers.md
@@ -22,6 +22,15 @@ Not done yet. Feel free to use the one that is currently being worked on.
* https://github.com/extend/cowboy/pull/364
+Methods
+-------
+
+The REST component has code for handling the following HTTP methods:
+HEAD, GET, POST, PATCH, PUT, DELETE and OPTIONS.
+
+Other methods can be accepted, however they have no specific callback
+defined for them at this time.
+
Callbacks
---------