lol yeah the header’s a must for curl sending json. But also, some servers freak out if you don’t include `Accept: application/json` too. Try:
```bash
curl -X POST http://example.com/api -H "Content-Type: application/json" -H "Accept: application/json" -d '{"key":"value"}'
```
If it’s still broken, maybe the API’s just bad? ¯\_(ツ)_/¯
```bash
curl -X POST http://example.com/api -H "Content-Type: application/json" -H "Accept: application/json" -d '{"key":"value"}'
```
If it’s still broken, maybe the API’s just bad? ¯\_(ツ)_/¯
