Hey! I had the same issue with a post request from curl last week. Turns out I was missing quotes around the JSON data. Try this:
```bash
curl -X POST https://example.com/api -H "Content-Type: application/json" -d '{"key":"value"}'
```
Also, for auth, `-u` works, but if it's a token, use `-H "Authorization: Bearer YOUR_TOKEN"`.
```bash
curl -X POST https://example.com/api -H "Content-Type: application/json" -d '{"key":"value"}'
```
Also, for auth, `-u` works, but if it's a token, use `-H "Authorization: Bearer YOUR_TOKEN"`.
