Feedback

  • Contents
 

HTTP Header Information

When writing custom clients, use this HTTP header information:

  • Accept: Use the Accept request-header field to specify media types that are acceptable for the response.

  • Accept-Charset: Use the Accept-Charset request-header field to indicate which character sets are acceptable for the response.

  • Content-Range: Send the Content-Range entity-header with a partial entity-body to specify where to apply the partial body in the full entity-body.

    Web Tools does not support Partial entity-body. Do not include the Content-Range entity-header in any requests.

  • Content-Type: Use the Content-Type entity-header field to indicate the media type of the entity-body sent to the recipient.

If Accept-Charset is present, acceptable media types are:

  • application/json

  • application/xml

  • text/plain

  • text/*

  • /

If Accept is not present but the Content-Type header is present and its value matches a listed type, then Web Tools uses that character set. Otherwise, Web Tools uses the default content type application/json. Web Tools uses UTF8 charset only. Accept-Charset should contain either UTF8 or *.

Web Tools uses only GET and POST methods.