🚰 Kitchen Sink
Get response headers
The API endpoint enables you to retrieve the response headers.
By accessing this endpoint, you can obtain the headers included in the response of an HTTP request.
This functionality is useful for inspecting and retrieving important metadata and information associated with the response, such as content type, cache control, and authentication-related headers.
It allows you to access and utilize the response headers for further processing or to gather relevant information from the API response.
get/kitchen-sink/response/headers
Response
Get request headers
Example response
{
"data": {
"headers": {
"access-control-allow-credentials": "true",
"access-control-allow-origin": "*",
"content-length": "280",
"content-type": "application/json; charset=utf-8",
"etag": "12345",
"x-powered-by": "Express"
}
},
"message": "Response headers returned",
"statusCode": 200,
"success": true
}