Log in:

Login

JSON Response Format

JSON, or JavaScript Object Notation, is a simple machine-readable data-interchange format, which makes constructing API applications in JavaScript easy (though it can be used from other languages too!). For more information about JSON, visit json.org.

Successful Response

A JSON serialized object is sent back as string

s:23:"http://google.com/xhtml";

The complete response with header

HTTP/1.x 200 OK
Content-Type: text/plain

s:23:"http://google.com/xhtml";

Error Response

The server will return a HTTP/1.1 400 Bad Request HTTP Error code.

  • the generated error code
  • a human-readable error message (in English).

The complete response with header

HTTP/1.x 400 Bad Request
Content-Type: text/plain

[1,"Invalid code: 2xxx0207992"]
KAYWA // TECHNOPARKSTRASSE 1 // 8005 ZUERICH // SWITZERLAND // info@kaywa.com