Web APIs

Fetch API

Checking compatibility...

Modern interface for making HTTP requests. Perfect for fetching resources across the network with support for promises, request/response objects, and CORS.

Basic Request

Get data from a server. Fetch information, check response status, and process returned data.

=
=
=
=
=
=

Output

Click Run to see output...

POST Request

Send data to a server. Configure requests with custom headers and body content.

=
=
=
=
=
=

Output

Click Run to see output...

Advanced Usage

Control requests with features like cancellation. Stop in-progress requests for timeouts or navigation.

=
=
=
=
=
=

Output

Click Run to see output...