跳至主要內容
kitlocal.dev

Postman ↔ cURL

本機執行

100% 在你的瀏覽器中處理。輸入與輸出絕不會離開你的裝置。

離線將 Postman collection 轉換為 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"}'