tweak readme to show http requests

This commit is contained in:
Nathan LaFreniere 2013-10-09 11:34:22 -07:00
parent 8a52bef559
commit 70eb97dece

View File

@ -232,8 +232,19 @@ If the port is omitted, then port 80 is assumed.
.. code-block:: bash .. code-block:: bash
$ http :/foo $ http :/foo
.. code-block:: http
GET http://localhost/foo
.. code-block:: bash
$ http :3000/bar $ http :3000/bar
.. code-block:: http
GET http://localhost:3000/bar
If find yourself manually constructing URLs with **querystring parameters** If find yourself manually constructing URLs with **querystring parameters**
on the terminal, you may appreciate the ``param==value`` syntax for appending 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 ``&`` URL parameters so that you don't have to worry about escaping the ``&``