Skip to content

Instantly share code, notes, and snippets.

@lemonlatte
Last active January 16, 2024 05:59
Show Gist options
  • Save lemonlatte/bc70534252b9c96de31cdece0ca82716 to your computer and use it in GitHub Desktop.
Save lemonlatte/bc70534252b9c96de31cdece0ca82716 to your computer and use it in GitHub Desktop.
Make HTTPS requests by openssl
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