Update _quickstartApi.php

This commit is contained in:
Alex Grin 2017-02-28 12:21:06 -05:00 committed by GitHub
parent b892e798e0
commit db1a31b43e

View file

@ -1,6 +1,6 @@
<h3 id="api">The API</h3> <h3 id="api">The API</h3>
<p> <p>
When running, the LBRY daemon provides a JSON-RPC server running at <code class="code-inline">https://localhost:5279/lbryapi</code>. When running, the LBRY daemon provides a JSON-RPC server running at <code class="code-inline">http://localhost:5279/lbryapi</code>.
</p> </p>
<p> <p>
It can be accessed by any utility capable of making HTTPS GET and POST requests, such as cURL or possibly your toaster. It can be accessed by any utility capable of making HTTPS GET and POST requests, such as cURL or possibly your toaster.
@ -32,4 +32,4 @@
<p>The LBRY API consists about 50 calls, all related to discovering, distributing, and purchasing content. <a class="link-primary" href="/api">View the full API documentation</a>.</p> <p>The LBRY API consists about 50 calls, all related to discovering, distributing, and purchasing content. <a class="link-primary" href="/api">View the full API documentation</a>.</p>
<p>You can also list all of the commands available by calling the <span class="code-plan">help</span> command.</p> <p>You can also list all of the commands available by calling the <span class="code-plan">help</span> command.</p>
<code class="code-bash"><span class="code-bash__prompt">$</span>curl 'http://localhost:5279/lbryapi' --data '{"method":"help"}' <code class="code-bash"><span class="code-bash__prompt">$</span>curl 'http://localhost:5279/lbryapi' --data '{"method":"help"}'
</code> </code>