Authorization Header Test

This page tests whether Authorization headers are properly received by the API endpoint. Click the buttons below to test different scenarios.

How to Test Externally

You can also test this API endpoint using external tools like Postman or curl:

Without Authorization:

curl -X GET "https://00612896-auth-header.preview.vercel-support.app/api/test" -H "Content-Type: application/json"

With Authorization:

curl -X GET "https://00612896-auth-header.preview.vercel-support.app/api/test" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-token-here"