Send an HTTP request with specified method and data.
Syntax
curl -X METHOD -d DATA URLExample
Enter values below to update the example in real time.
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}'