HTTPメソッドとデータを指定してリクエストを送ります。
構文
curl -X METHOD -d DATA URL使用例
下記の値を入力するとサンプルに即時反映されます。
curl→PUT→https→api→example→com→users→curl -X PUT https://api.example.com/users/1 \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Bob", "active": true}'