The time might come when we add some JSON specific command line options
If you regularly do command line JSON requests, I'm a big fan of HTTPie. It's so much easier to use correctly. <a href="https://httpie.io/docs/cli/examples" rel="nofollow">https://httpie.io/docs/cli/examples</a><p>For example, here's a JSONy POST request with cURL:<p>curl -s -H "Content-Type: application/json" -X POST <a href="https://api.ctl.io/v2/authentication/login" rel="nofollow">https://api.ctl.io/v2/authentication/login</a> --data '{"username":"YOUR.USERNAME","password":"YOUR.PASSWORD"}'<p>Here's that same request with HTTPie:<p>http POST <a href="https://api.ctl.io/v2/authentication/login" rel="nofollow">https://api.ctl.io/v2/authentication/login</a> username=YOUR.USERNAME password=YOUR.PASSWORD