Changes

stoney core: REST API

3 bytes added, 10:47, 14 November 2013
/* Data interchange format */
* If the client sends an <code>Accept</code> header with an unsupported value (at the moment only <code>application/json</code> is supported), the service will respond with a <code>406</code> (Not Acceptable) [[#Error codes and responses|error code]].
* If no <code>Accept</code> header is sent, the server will use JSON, possibly pretty-printed and annotated.
* If the client sends a <code>Content-Type</code> other than <code>application/json</code> on a POST, PUT or PATCH request, the services response service will respond with a <code>415</code> (Unsupported Media Type) [[#Error codes and responses|error code]].
Future extension:
SLB
385
edits