HTTP リクエストビルダー
HTTP リクエストを構築し、curl・fetch・axios コードとしてエクスポートします。
クエリパラメータ0 件有効
ヘッダー0 件有効
What Is the HTTP Request Builder?
The HTTP request builder is a free online tool that generates ready-to-use HTTP request code from a visual form. Configure the HTTP method, URL, query parameters, request headers, and request body, then choose your output format — curl, fetch, or axios — and copy the generated code directly into your terminal or application.
It is commonly used by developers to quickly prototype API calls, generate curl commands for documentation, convert between HTTP client formats, and debug API integrations without writing boilerplate code by hand.
How to Use the HTTP Request Builder
- Select the HTTP method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS).
- Enter the request URL.
- Expand Query Params to add URL parameters — they are appended to the URL automatically.
- Expand Headers to add request headers. Click Load Sample for common headers.
- For POST/PUT/PATCH requests, expand Body and enter the request body in JSON, text, or form format.
- Select the output format: curl, fetch, or axios.
- Click Copy to copy the generated code.
Features
- Supports GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
- Query parameter builder with enable/disable toggles
- Header builder with enable/disable toggles and sample headers
- Request body editor with JSON, text, and form modes
- Output formats: curl, JavaScript fetch, axios
- Automatic Content-Type header injection for JSON bodies
- One-click copy to clipboard
- Runs entirely in your browser — no requests are executed
FAQ
What HTTP methods does the builder support?
The builder supports GET, POST, PUT, PATCH, DELETE, HEAD, and OPTIONS — all standard HTTP methods defined in RFC 7231.
What is the difference between curl, fetch, and axios?
curl is a command-line tool for making HTTP requests, commonly used in terminals and shell scripts. fetch is the native browser and Node.js API for HTTP requests. axios is a popular JavaScript library that wraps fetch with a more ergonomic API, automatic JSON parsing, and request/response interceptors.
How do I add authentication headers?
Expand the Headers section and add an Authorization header with your token value, for example: Authorization: Bearer YOUR_TOKEN. The generated code will include this header in the output.
Does this tool send my request to a server?
No. This tool only generates code — it does not execute the request or send any data to a server. All processing happens in your browser.