Answers for "curl for https"

0

curl test https

curl --insecure -v https://www.google.com 2>&1 | awk 'BEGIN { cert=0 } /^* Server certificate:/ { cert=1 } /^*/ { if (cert) print }'
Posted by: Guest on February-25-2021
2

curl example

curl --request POST 
  --url https://api.sendgrid.com/v3/mail/send 
  --header 'Authorization: Bearer YOUR_API_KEY' 
  --header 'Content-Type: application/json' 
  --data '{"personalizations": [{"to": [{"email": "[email protected]"}]}],"from": {"email": "[email protected]"},"subject": "Hello, World!","content": [{"type": "text/plain", "value": "Heya!"}]}'
Posted by: Guest on February-19-2021
-2

curl get url https

curl -k https://localhost:44344/xxxxx
Posted by: Guest on January-08-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language