Changes

stoney core: REST API

246 bytes added, 10:30, 13 November 2013
/* Data interchange format */
=== Data interchange format ===
The service needs to accept and send all data in the JSON data interchange format via HTTP, encoded as UTF-8. Thus a client needs to accept and use the [http://tools.ietf.org/html/rfc4627 <code>application/json</code>] media type. Further media types might be supported in the future.
 
This results in the following required request and respons headers:
{| class="wikitable sortable"
|-
! Request header
! Response header
 
|-
| <code>Accept: application/json</code>
| <code>Content-Type: application/json; charset=UTF-8</code>
 
|}
=== Error codes and responses ===
SLB
385
edits