You’re close! Drop the `--post` and use `-X POST`.
For JSON, watch the quotes—bash might eat them. Try:
```
curl -X POST -H "Content-Type: application/json" -d "{\"key\":\"value\"}" http://example.com
```
And silent fails? Yeah, curl’s a jerk like that. `-v` is your bestie.
For JSON, watch the quotes—bash might eat them. Try:
```
curl -X POST -H "Content-Type: application/json" -d "{\"key\":\"value\"}" http://example.com
```
And silent fails? Yeah, curl’s a jerk like that. `-v` is your bestie.
