v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
🚰 Kitchen Sink

Get request headers

This API endpoint is designed to provide information about the headers included in an HTTP request made to the API.

It allows users to retrieve the details of the headers sent in the request, including their names, values, and any additional relevant information.

get/kitchen-sink/request/headers

Response

Get request headers

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "headers": {
      "accept": "*/*",
      "accept-encoding": "gzip, deflate, br",
      "cache-control": "no-cache",
      "connection": "keep-alive",
      "cookie": "accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NDg5NjI2ZGMyNjVmMGFhMmRiYjczYTQiLCJlbWFpbCI6IndhamUuc2h1YmhhbTExMTJAZ21haWwuY29tIiwidXNlcm5hbWUiOiJ3YWplc2h1YmhhbTIiLCJyb2xlIjoiQURNSU4iLCJpYXQiOjE2ODY3Mjc3MjAsImV4cCI6MTY4NjgxNDEyMH0.X7DSYAaqIFVtNxqDSYWW40NNoxu-npBh0Yo7dsPIfBg; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NDg5NjI2ZGMyNjVmMGFhMmRiYjczYTQiLCJpYXQiOjE2ODY3Mjc3MjAsImV4cCI6MTY4NzU5MTcyMH0.sesIJ2P7EqaauA8JbNFe-7vbWMhH7uhiPn25x4zUG0I",
      "host": "localhost:8080",
      "postman-token": "7c2f7cd1-a242-47d1-9121-dafdadd3f611",
      "user-agent": "PostmanRuntime/7.32.2"
    }
  },
  "message": "Request headers returned",
  "statusCode": 200,
  "success": true
}