How toWeb Service Developer Guide

Web Service Developer Guide

Common HTTP Headers

The table below provides the common HTTP headers and their description:

HTTP Header Description
Content-Type: xxx Describes the content type of the request. For example, when calling the 'login' API method and sending the credentials as XML, the content type should be 'text/xml'.
Content-Length: xxx Describes the length of the request body. When calling an API method using PUT or POST and the request body contains data, Fiddler will automatically set this header. When calling an API method using PUT but without a request body, make sure to add this header with a value of '0'.
Authorization: Basic xxx Applies when the web service is configured for Basic Authentication. xxx must be replaced by the Base64 string representation of the following information: 'username:password'.
How toWeb Service Developer Guide