Skip to content
Snippets Groups Projects
Commit 66287fa8 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

RAPI: Document need for Content-type header in requests


This was added to the NEWS file in commit ab221ddf, but never
documented properly.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent d1b47b16
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,10 @@ HTTP Basic authentication as per :rfc:`2617` is supported.
.. _JSON: http://www.json.org/
.. _REST: http://en.wikipedia.org/wiki/Representational_State_Transfer
HTTP requests with a body (e.g. ``PUT`` or ``POST``) require the request
header ``Content-type`` be set to ``application/json`` (see :rfc:`2616`
(HTTP/1.1), section 7.2.1).
A note on JSON as used by RAPI
++++++++++++++++++++++++++++++
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment