Cmd Generator

curl

发送 HTTP 请求并获取响应,支持多种协议和认证方式。

curl https://api.example.com/data

示例

# GET 请求
curl https://api.example.com/users

# POST 带 JSON
curl -X POST -H "Content-Type: application/json" -d '{"name":"John"}' https://api.example.com/users

# 使用 Cookie
curl -b "session=abc123" https://api.example.com/profile

Sponsors