The request header represents headers in the client HTTPS request that are used to communicate client preferences to the service end point. The service indicates the supported preference in the response header. The following table includes a few examples of request headers. For an extensive list of request headers, see
List of HTTP header fields.
Table 1. Request headersThe following table includes a few examples of request headers.
Request header
Description
Example
Accept
Format of the data requested by the client. It could be one or more comma-separated values.
Accept: application/json
Authorization
The bearer token is a cryptic string, generated by the server in response to a login request. The client must send this token in the
Authorization header when making requests to protected resources.
Authorization: Bearer
Content-type
The Content-type header field is used to specify the nature of the data in the body of an entity.
Content-type: application/json
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\