Small tools. Better flow.

HTTP request builder

Generate curl, fetch, Axios, and other request code.

Usage guide

Your input stays in this browser.

Input & options

Text 1 MB

View code examples ↓

Result

Your result will appear here.

Code examples

Starting points for your own code. Run them in the environment shown below.

Node.js 22+ · ES module (.mjs)

Current inputs apply only to fields used by the example. Selected files are not embedded.

const url = new URL("https://example.com/api/users");
const options = {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ name: "Alice" }),
};
console.log(url.toString(), options);
// Replace the example URL with your API, then send:
// const response = await fetch(url, options);
// if (!response.ok) throw new Error("HTTP " + response.status);
// console.log(await response.json());

Put it to work

Generate curl, fetch, Axios, and other request code.

Details that matter

Format and meaning

Generates code only. No HTTP request is sent.

Supported scope and limits

Text 1 MB

Split inputs that exceed the limit. If a format or algorithm is unsupported, choose a tool that matches your requirements instead of silently changing the format.