Hey! Common issue with curl sending json. You’re missing the header, but also, some APIs are picky about whitespace. Try this:
```bash
curl -X POST http://example.com/api -H "Content-Type: application/json" -d '{"key":"value"}'
```
If it still fails, maybe the API expects something else? Check their docs or use `-v` for verbose output to see what’s really being sent.
```bash
curl -X POST http://example.com/api -H "Content-Type: application/json" -d '{"key":"value"}'
```
If it still fails, maybe the API expects something else? Check their docs or use `-v` for verbose output to see what’s really being sent.
