工具 指南
Developer 免费 无需注册

cURL Command Builder

Build and generate cURL commands interactively

正在加载工具…

关于此工具

Construct cURL commands visually by filling in the URL, HTTP method, headers, query parameters, request body, and authentication. Instantly see the generated command and its equivalent fetch() JavaScript code. Copy with one click.

使用方法

  1. 1 Enter the target URL.
  2. 2 Choose the HTTP method (GET, POST, PUT, PATCH, DELETE).
  3. 3 Add any headers or query parameters using the + buttons.
  4. 4 For POST/PUT/PATCH, choose a body format (raw, form, or JSON) and enter the content.
  5. 5 Select an authentication type if required.
  6. 6 Toggle follow-redirects, verbose, or timeout options as needed.
  7. 7 Copy the generated cURL command or the equivalent fetch() snippet.

常见问题

{# Alpine.js — self-hosted. (The previous jsdelivr CDN tag had a stale SRI integrity hash, so the browser refused to run it and window.Alpine was never defined — silently breaking every FAQ accordion and Alpine tool.) #}