Quick tip: If your curl post request hangs, it might be a SSL/TLS issue. Try adding `-k` to skip cert verification (for testing only!).
For JSON, yeah, always use `-H "Content-Type: application/json"`. And if you’re on Windows, use double quotes for the JSON and escape the inner ones like this:
```bash
curl -X POST https://example.com/api -H "Content-Type: application/json" -d "{\"key\":\"value\"}"
```
Also, `jq` is awesome for pretty-printing JSON responses.
For JSON, yeah, always use `-H "Content-Type: application/json"`. And if you’re on Windows, use double quotes for the JSON and escape the inner ones like this:
```bash
curl -X POST https://example.com/api -H "Content-Type: application/json" -d "{\"key\":\"value\"}"
```
Also, `jq` is awesome for pretty-printing JSON responses.
