A Request header is a header contained in a request message that a client application sends to a server. These messages contain useful and necessary information about the request. For example, the most common request header you will use in CaseMap Server is the Accept header, which contains a number of parameters for many of the method calls. Other than <Accept>, all other request headers are either optional, auto-generated, or have a default value that is useable by most applications.
The following topics describe the headers you may need to place in a CaseMap Server request.
Header |
Required |
Description |
Accept |
No |
Restricts what data the client will accept in the response. Used by GET get-case-facts and GET get-case-issues to limit the data returned.
|
Content-Length |
Yes (autogenerated) |
The length of content provided by PUT and POST verbs.
|
Host |
Yes (autogenerated) |
The host server. Used for logging.
|
user-agent |
Yes (autogenerated) |
The user agent. Used for logging.
|