From 70eb97dece6cf20668391427f9cca75e4092d7ed Mon Sep 17 00:00:00 2001 From: Nathan LaFreniere Date: Wed, 9 Oct 2013 11:34:22 -0700 Subject: [PATCH] tweak readme to show http requests --- README.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.rst b/README.rst index b85b00ca..b3d003eb 100644 --- a/README.rst +++ b/README.rst @@ -232,8 +232,19 @@ If the port is omitted, then port 80 is assumed. .. code-block:: bash $ http :/foo + +.. code-block:: http + + GET http://localhost/foo + +.. code-block:: bash + $ http :3000/bar +.. code-block:: http + + GET http://localhost:3000/bar + If find yourself manually constructing URLs with **querystring parameters** on the terminal, you may appreciate the ``param==value`` syntax for appending URL parameters so that you don't have to worry about escaping the ``&``