Request headers are request messages sent from REST API clients to the REST API server.
The following table lists the request headers supported by the REST API.
Header |
Category |
Description |
---|---|---|
Accept |
Optional |
Specifies the media type of the response. Specifiable value: */* (json) Default value: */* (json) |
Accept-Language |
Optional |
Specifies the language of the messages received by the client. Specify ja to set the language to Japanese. If any language other than Japanese is specified, or if this header is omitted, the language is set to English (en). |
Content-Type |
Optional |
Specifies the media type of the request body. Specifiable value: application/json Default value: application/json |
Content-Length |
Optional |
Specifies the size of the request body. You can specify the Content-Length header when specifying a request body. This header is automatically assigned depending on the specifications of the client software. Specifiable value: Specify the header, in bytes. Default value: None. |
Authorization |
Required |
Specifies the authorization method and authorization credentials. Specify the header in one of the following formats:
|
If a header other than the above is specified, the specified header is ignored.