Commit 84e352ce authored by Łukasz Nowak's avatar Łukasz Nowak

Complement main paradigms.

PUT can inform that nothing happens.

OPTIONS is required by web-browser embedded JavaScript calls in order to allow
for CORS.
parent e7c4962b
......@@ -27,10 +27,12 @@ Success
``POST`` requests which perform some other action such as sending a campaign
will return a ``"200 OK"`` response if successful.
``PUT`` requests will return a ``"200 OK"`` response if the resource is successfully updated.
``PUT`` requests will return a ``"200 OK"`` response if the resource is successfully updated and ``"204 No Content"`` in case if no modification was applied..
``DELETE`` requests will return a ``"200 OK"`` response if the resource is successfully deleted.
``OPTIONS`` requests will return ``"200 OK"`` response with allowed method on given url.
Common Error Responses
++++++++++++++++++++++
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment