400 errors? Classic.
Try this curl post example:
```
curl -X POST https://example.com/api \
-H "Content-Type: application/json" \
-d @data.json
```
Put your JSON in a file (`data.json`) to avoid quote issues.
Also, check if the API docs mention required fields—sometimes it’s not the syntax but missing data.
Try this curl post example:
```
curl -X POST https://example.com/api \
-H "Content-Type: application/json" \
-d @data.json
```
Put your JSON in a file (`data.json`) to avoid quote issues.
Also, check if the API docs mention required fields—sometimes it’s not the syntax but missing data.
