Logo Http Headers

Logo Http Headers

Get Headers

API doc (version 0.3.1)

Description
- Tool to get list of response headers including redirect chain of a http connection.
- Limit : 5 requests per second. Once reached subsequent requests will result in error 429 (too many requests) until your quota is cleared.
- Quota is shared among services [Alexa, Weather, Http Headers].
Endpoint - Get list of response headers
This endpoint retrieves list of response headers including redirect chain of a Http connection in JSON format
http Request : GET https://api.codetabs.com/http-headers/get/urlToScan
examples :
https://api.codetabs.com/http-headers/get/codetabs.com
https://api.codetabs.com/http-headers/get/https://www.codetabs.com

response :
[{
  "HTTP/1.1": "301",
  "Server": "nginx",
  "Date": "Thu, 25 Jan 2018 17:54:21 GMT",
  "Content-Type": "text/html",
  "Content-Length": "178",
  "Connection": "keep-alive",
  "Location": "https://codetabs.com/"
},
{
  "HTTP/2": "200",
  "server": "nginx",
  "date": "Thu, 25 Jan 2018 17:54:21 GMT",
  "content-type": "text/html",
  "vary": "Accept-Encoding",
  "expires": "Thu, 01 Jan 1970 00:00:01 GMT",
  "cache-control": "no-cache",
  "strict-transport-security": "max-age=15768000,
  "x-frame-options": "DENY",
  "x-content-type-options": "nosniff",
  "x-xss-protection": "1; mode=block"
}]