POST a raw string body exactly as provided.
Section: Forms and Upload
Send raw request data
bash
bash
curl --data-raw '{"ok":true}' https://api.example.com/itemsExplanation
`--data-raw` avoids the special `@` file semantics of `-d`.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Forms and Upload
Submit a multipart form field
Send a simple form field using multipart/form-data.
Upload a file with explicit content type
Specify the filename part and content type.
Send binary request data
Send binary-safe request data without transformations.