If you’re tired of how to curl with data syntax, try `curlconverter.com`. Paste your curl command, and it gives you code in other languages too.
For JSON, your method works, but `--json` (new in curl 7.82+) is cleaner.
Form data? `-d` is quick, but `--data-urlencode` is bulletproof.
For JSON, your method works, but `--json` (new in curl 7.82+) is cleaner.
Form data? `-d` is quick, but `--data-urlencode` is bulletproof.
