forked from extern/httpie-cli
tweak readme to show http requests
This commit is contained in:
parent
8a52bef559
commit
70eb97dece
11
README.rst
11
README.rst
@ -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 ``&``
|
||||||
|
Loading…
Reference in New Issue
Block a user