Get token from secure REST service without cert
in Snippets on Linux
Using curl with a k.
Get token from secure REST service without cert
The following snippet performs a POST request sending JSON in a SSL connection (secure) but does no verify for security (the certificate is not required).
Bash snippet
- Table of Contents
curl –k –d ‘{ "clientId": "x", "secret": "y" }’ –X POST https://<some cool domain> -H ”Content-Type: application/json”