Skip to content
Permalink
Browse files

Add a bash here string example

  • Loading branch information...
jakubroztocil committed Mar 11, 2019
1 parent 3a46149 commit b6309547d535287dd11429ba11a999414149b7fd
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.rst
@@ -1112,6 +1112,13 @@ You can use ``echo`` for simple data:
$ echo '{"name": "John"}' | http PATCH example.com/person/1 X-API-Token:123
You can also use a Bash *here string*:
.. code-block:: bash
$ http example.com/ <<<'{"name": "John"}'
You can even pipe web services together using HTTPie:
.. code-block:: bash

0 comments on commit b630954

Please sign in to comment.
You can’t perform that action at this time.