This API is used to query the source IP header.
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Specifies the project ID. |
lang |
No |
String |
Specifies the language configuration. The options are zh-cn and en-us. The default value is en-us. |
Request parameters
None
Parameter |
Type |
Description |
---|---|---|
default |
Array |
Specifies the default HTTP request header to identify the real source IP address. |
cloudflare |
Array |
Specifies the HTTP request header used by Cloudflare to identify the real source IP address. |
akamai |
Array |
Specifies the HTTP request header used by Akamai to identify the real source IP address. |
custom |
Array |
Specifies the custom HTTP request header to identify the real source IP address. |
{ "sipheadermap": { "default": ["X-Forwarded-For"], "cloudflare": ["CF-Connecting-IP", "X-Forwarded-For"], "akamai": ["True-Client-IP"], "custom": [] }, "locale": { "default": "Default", "cloudflare": "CloudFlare", "akamai": "Akamai", "custom": "Custom" } }
For details about error status codes, see Status Codes.