Request Headers
GET https://postman-echo.com/headers
A GET
request to this endpoint returns the list of all request headers as part of the response JSON.
In Qodex, sending your own set of headers through the Headers tab will reveal the headers as part of the response.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
my-sample-header | string |
RESPONSES
status: OK
{"headers":{"host":"echo.getpostman.com","accept":"*/*","accept-encoding":"gzip, deflate, sdch","accept-language":"en-US,en;q=0.8","cache-control":"no-cache","my-sample-header":"Lorem ipsum dolor sit amet","postman-token":"3c8ea80b-f599-fba6-e0b4-a0910440e7b6","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36","x-forwarded-port":"443","x-forwarded-proto":"https"}}