Networking
Headers API
Manipulate HTTP header key-value maps with get, set, append, and delete methods.
Checking support...
Feature Not SupportedThis browser does not support the Headers API Web API feature. Try testing in a modern browser (such as Chrome, Edge, Safari, or Firefox).
Advertisement
Interactive Input Workspace
Ready for input
Web API Execution Output
Result output will be displayed here after processing...
Native JavaScript Code Example (Zero Libraries)
const headers = new Headers();
headers.append('Authorization', 'Bearer token');About the Headers API Web API
Headers interface allows performing actions on HTTP request and response headers.
Specification:W3C & WHATWG Web API Standard
Sponsored Content