Skip to main content
Bun implements the Web-standard fetch API for sending HTTP requests. To send a GET request to a URL:
fetch.ts

To send a POST request to an API endpoint:
fetch.ts