Had this exact problem! Forgot to escape special chars in the JSON. Use `\` for quotes inside the string.
```bash
curl -X POST https://example.com/api -d "{\"key\":\"value\"}"
```
And yeah, `-u` is basic—if the API uses JWT, you’ll need a bearer token.
```bash
curl -X POST https://example.com/api -d "{\"key\":\"value\"}"
```
And yeah, `-u` is basic—if the API uses JWT, you’ll need a bearer token.
