Postman ↔ cURL
离线将 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"}'