CORS Headers Explainer
Configure and visualize CORS headers — see the preflight request and response.
- Runs in your browser
Preflight request
OPTIONS /api/data HTTP/1.1 Host: api.example.com Origin: https://myapp.com Access-Control-Request-Method: POST Access-Control-Request-Headers: Content-Type, Authorization
Server response
Access-Control-Allow-Origin: *Any origin can access this resource
Access-Control-Allow-Methods: GET, POST, PUT, DELETEAllowed HTTP methods: GET, POST, PUT, DELETE
Access-Control-Allow-Headers: Content-Type, AuthorizationClient may send these custom headers: Content-Type, Authorization
Was this tool useful?