From 0629f2ff4288e9834a6686e54be2acc65e6f18de Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Mon, 21 Dec 2020 12:14:41 +0100 Subject: [PATCH] Fix `--stream` example II --- README.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.rst b/README.rst index d8f3862a..dea063e2 100644 --- a/README.rst +++ b/README.rst @@ -1730,8 +1730,7 @@ Streamed output by small chunks à la ``tail -f``: # Send each new tweet (JSON object) mentioning "Apple" to another # server as soon as it arrives from the Twitter streaming API: - $ http --stream -f -a YOUR-TWITTER-NAME https://stream.twitter.com/1/statuses/filter.json track=Apple \ - | while read tweet; do echo "$tweet" | http POST example.org/tweets ; done + $ http --stream httpbin.org/stream/3 | while read line; do echo "$line" | http httpbin.org/post ; done Sessions ========