跳转到主要内容
kitlocal.dev

Postman ↔ cURL

本地运行

100% 在你的浏览器中处理。输入和输出绝不会离开你的设备。

离线将 Postman 集合转换为 cURL 命令,反之亦可。

cURL 转换结果
Authenticate
curl --location --request POST 'https://api.example.com/auth/v1/sync' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer token_x' \
  --data-raw '{"user":"admin"}'