In this section, by defining request headers globally, definitions are made in API Gateways, Test Console, so that they are ready and selectable.
The request header is an HTTP header that can be used in an HTTP request to provide information about the request context so that the server can adapt the response. For example, the Accept-* headers indicate the allowed and preferred formats of the response. Other headers can be used to provide authentication information. (For authorization, to control caching, or to get information about user agent or referrer etc.)
By default, the Apinizer Platform has 33 Request Header Names:
Accept
Content-MD5
Content-Type
Cookie
Date
Expect
Forwarded
From
Host
If-Match
If-Modified-Since
Accept-Charset
If-None-Match
If-Range
If-Unmodified-Since
Max-Forwards
Origin
Pragma
Proxy-Authorization
Range
Referer [sic]
TE
Accept-Datetime
Upgrade
User-Agent
Via
Warning
Accept-Encoding
Accept-Language
Authorization
Cache-Control
Connection
Content-Length
You cannot edit or delete what is added by default by Apinizer.
In addition to the above you can add your own Request Headers.
From the Administration → System Settings → Predefined Values → Request Header Names screen, click the +New button.
The picture below shows the predefined Request Header Name creation settings:
The fields used for the Request Header Name creation configuration are shown in the table below.
Field | Description |
---|
Header Name | This is the field where the title name is entered. |