How to cURL POST from the Command Line
curl post request with no data:
curl -X POST http://URL/example.php
curl post request with data:
curl -d "data=example1&data2=example2" http://URL/example.cgi
http://osxdaily.com/2017/01/30/curl-post-request-command-line-syntax/