cURL Example
POST JSON
Send JSON payloads using POST with explicit content type.
Command
curl -X POST 'https://api.plainutils.dev/v1/items' \
-H 'Content-Type: application/json' \
--data '{"name":"example"}'Notes
- Set Content-Type for JSON APIs.
- Quote payload carefully in shell environments.