Networking
Request API
Inspect and construct HTTP Request objects including mode, credentials, and headers.
Checking support...
Feature Not SupportedThis browser does not support the Request 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 req = new Request('/api', { method: 'POST', headers: { 'Content-Type': 'application/json' } });About the Request API Web API
Request interface represents a resource request in the Fetch API.
Specification:W3C & WHATWG Web API Standard
Sponsored Content