Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleNote.
Date and time are specified in RFC 3339 format, see details at http://www.ietf.org/rfc/rfc3339.txt

Authorization

Authorization is needed for requests. Two types of authorization are supported: Basic and Bearer.

With the Basic authorization type, it is necessary to add user data to all HTTP requests in the following form:

Code Block
http://[username]:[password]@[IP-address]:[port]/web2

With the Bearer authorization type, the token received from the web server is used (see Authorization using a token key).

Default response format

By default, the response is in the JSON format. The default response in XML format can be enabled on the settings panel of the Web server 2.0 object (see Configuring default response type for HTTP API requests). Also, the response format can be explicitly specified in the Accept header, for example application/json or application/xml. The response format specified in the request has a higher priority than the default response format specified on the settings panel of the Web server 2.0 object.

...