Skip to content

Commit

Permalink
Add a bash here string example
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbrzt committed Mar 11, 2019
1 parent 3a46149 commit b630954
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.rst
Expand Up @@ -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
Expand Down

0 comments on commit b630954

Please sign in to comment.