Not TestedTesting not done, may not work properly
Networking

Request API

Inspect and construct HTTP Request objects including mode, credentials, and headers.

Checking support...
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