Convert cURL commands to Fetch API or Axios code
curl -X GET "https://api.example.com/users" \ -H "Authorization: Bearer token123" \ -H "Content-Type: application/json"
curl -X POST "https://api.example.com/users" \
-H "Content-Type: application/json" \
-d '{"name": "John Doe", "email": "john@example.com"}'curl -X PUT "https://api.example.com/users/123" \
-H "Authorization: Bearer token123" \
-H "Content-Type: application/json" \
-d '{"name": "Jane Doe"}'Enter a cURL command to see the JavaScript conversion