Hey! Yeah, the `-H "Content-Type: application/json"` is crucial if you're sending JSON. Also, make sure your JSON is properly formatted. Try this:
```
curl -X POST https://example.com/api \
-H "Content-Type: application/json" \
-d '{"key":"value"}'
```
If the server still complains, check if it needs auth headers like `Authorization: Bearer token`. Sometimes servers are picky!
```
curl -X POST https://example.com/api \
-H "Content-Type: application/json" \
-d '{"key":"value"}'
```
If the server still complains, check if it needs auth headers like `Authorization: Bearer token`. Sometimes servers are picky!
