- Contents
Interaction Web Tools Developer's Guide
HTTP Header Information
When writing custom clients, use this HTTP header information:
-
Accept: Use theAcceptrequest-header field to specify media types that are acceptable for the response. -
Accept-Charset: Use theAccept-Charsetrequest-header field to indicate which character sets are acceptable for the response. -
Content-Range: Send theContent-Rangeentity-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-Rangeentity-header in any requests. -
Content-Type: Use theContent-Typeentity-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.

