View original Gist on GitHub
curl --verbose \ --header "Content-Type: application/json" \ --request POST \ --data '{"foo":"bar"}' \ --insecure \ --cert $DEV_CERT_P12:{password} \ https://domain.com/path/to/endpoint