Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
HTTPS server example README.
  • Loading branch information
eerimoq committed May 6, 2017
1 parent 81f9338 commit c1f2bed
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions examples/https_server/README.rst
Expand Up @@ -10,9 +10,23 @@ Test with curl
Verification of the certificate is turned off because I don't have a
valid certificate in the test.

HTTPS GET
--------

.. code-block:: text
> curl --insecure https://192.168.0.7/index.html
<html><body>
Hello from Pumbaa!
</body></html>
>
HTTPS POST
---------

.. code-block:: text
> curl --insecure --data "My post data." https://192.168.0.7/index.html
<html><body>
Hello from Pumbaa!
Post data: "My post data."
</body></html>
>

0 comments on commit c1f2bed

Please sign in to comment.