返回工具列表

cURL Builder

Network

Visually build cURL commands with headers, params, auth, and JSON bodies.

ttb run curl-builder

Headers

Query Params

Generated cURL
curl -X POST 'https://api.example.com/v1/users?expand=profile' -H 'Content-Type: application/json' -H 'Authorization: Bearer <token>' --data-raw '{
  "name": "Azara",
  "role": "builder"
}'
Import from existing cURL
分享此工具:

如何使用 cURL Builder

Set the HTTP method, endpoint URL, query params, headers, auth, and request body to generate a clean cURL command in real time. You can also paste an existing cURL command into the import box to reverse-populate the builder, tweak it visually, and copy the updated command back out.

1

Define the request

Choose a method, enter your base URL, and add any query params or headers you need.

2

Add auth and body

Include bearer/basic-style headers or a JSON body so the command matches your real API call.

3

Copy or import

Copy the generated cURL or paste an existing command into the import box to edit it visually.

常见问题

Does this run the request?+
No. This tool only builds the command string. Use API Explorer if you want to actually fire the request from your browser.
Can it import existing curl commands?+
Yes. The built-in parser handles common flags like -X, -H, --data-raw, --url, and -u for fast round-tripping.
保持更新

比任何人都更早获得新工具。

先人一步获取新工具。加入5000+开发者的行列,每周获取最新在线工具、编码技巧和效率工具摘要。绝无垃圾邮件。

© 2026 TinyToolbox. 保留所有权利。

隐私优先。广告支持。永远免费。

[H4CK]