Site updated at 2016-11-19 09:11:57 UTC
This commit is contained in:
parent
3b72869231
commit
84e49a59c8
23 changed files with 37 additions and 37 deletions
|
@ -125,7 +125,7 @@
|
|||
|
||||
<h2><a class="title-link" name="examples" href="#examples"></a> Examples</h2>
|
||||
|
||||
<p>A simple way to consume server-sent events is to use a command-line http client like [httpie][https://httpie.org/]. Installation info is on the site (if you use Homebrew, it’s <code class="highlighter-rouge">brew install httpie</code>). Once installed, run this snippet from your terminal:</p>
|
||||
<p>A simple way to consume server-sent events is to use a command-line http client like <a href="https://httpie.org/">httpie</a>. Installation info is on the site (if you use Homebrew, it’s <code class="highlighter-rouge">brew install httpie</code>). Once installed, run this snippet from your terminal:</p>
|
||||
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>http --stream http://localhost:8123/api/stream x-ha-access:YOUR_PASSWORD content-type:application/json
|
||||
</code></pre>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue