Last active
January 16, 2024 05:59
-
-
Save lemonlatte/bc70534252b9c96de31cdece0ca82716 to your computer and use it in GitHub Desktop.
Make HTTPS requests by openssl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl s_client -connect example.com:443 -ign_eof | |
POST /your-endpoint HTTP/1.1 | |
Host: example.com | |
Content-Type: application/json | |
Content-Length: <LengthOfYourJSONData> | |
{"key1":"value1", "key2":"value2"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment