For JSON, you can also use `jq` to generate the payload dynamically and pipe it into curl. Like:
```
jq -n '{key: "value"}' | curl -X POST -H "Content-Type: application/json" -d @- https://example.com
```
Super handy for complex data!
```
jq -n '{key: "value"}' | curl -X POST -H "Content-Type: application/json" -d @- https://example.com
```
Super handy for complex data!
