Skip to content
RED SAG Skills
easy5 pts · first answer countsapi-testingcurlhttp-headers

Posting JSON with curl

This curl call gets 415 from a JSON API. What is missing?

curl -X POST https://api.example.com/orders \
  -d '{"item":"tea","qty":2}'
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions