From b6309547d535287dd11429ba11a999414149b7fd Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Mon, 11 Mar 2019 08:41:24 +0100 Subject: [PATCH] Add a bash here string example --- README.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.rst b/README.rst index 9bcca0bd..87f04543 100644 --- a/README.rst +++ b/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