Fix up api endpoint examples

This commit is contained in:
Eliot Whalan 2016-08-10 19:15:50 +10:00
parent ea2e485638
commit 80fe735ba0
2 changed files with 10 additions and 12 deletions

View File

@ -472,14 +472,13 @@
</fieldset>
</form>
<div class="well">
<code>$ &lt;command&gt; | curl -X POST -F 'p=&lt;-' https://p.pantsu.cat/p</code><br/>
<code>POST https://p.pantsu.cat/p/(XML|JSON|HTML)</code><br/>
<code>$ &lt;command&gt; | curl -X POST -F 'p=&lt;-' https://p.pantsu.cat/api</code><br/>
<code>POST https://p.pantsu.cat/api/ </code><br/>
<code>GET https://p.pantsu.cat/api/{PASTE} </code><br/>
<code>GET: https://p.pantsu.cat/p/(PASTE)/(lang)</code><br/>
<code>GET: https://p.pantsu.cat/raw/(PASTE)</code><br/>
<code>GET: https://p.pantsu.cat/download/(PASTE)</code><br/>
<code>GET: https://p.pantsu.cat/clone/(PASTE)</code><br/>
<code>DEL: https://p.pantsu.cat/p/(PASTE)/(DELKEY)</code><br/>
<code>DEL: https://p.pantsu.cat/api/(PASTE)</code><br/>
<p>Source: <a href="https://github.com/ewhal/Pastebin">Github</a></p>
<p>Tools: <a href="https://github.com/ewhal/scripts/paste.sh">Github</a></p>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

View File

@ -465,14 +465,13 @@
</fieldset>
</form>
<div class="well">
<code>$ &lt;command&gt; | curl -X POST -F 'p=&lt;-' https://p.pantsu.cat/p</code><br/>
<code>POST https://p.pantsu.cat/p/(XML|JSON|HTML)</code><br/>
<code>$ &lt;command&gt; | curl -X POST -F 'p=&lt;-' https://p.pantsu.cat/api</code><br/>
<code>POST https://p.pantsu.cat/api </code><br/>
<code>GET https://p.pantsu.cat/api/{PASTE} </code><br/>
<code>GET: https://p.pantsu.cat/p/(PASTE)/(lang)</code><br/>
<code>GET: https://p.pantsu.cat/raw/(PASTE)</code><br/>
<code>GET: https://p.pantsu.cat/download/(PASTE)</code><br/>
<code>GET: https://p.pantsu.cat/clone/(PASTE)</code><br/>
<code>DEL: https://p.pantsu.cat/p/(PASTE)/(DELKEY)</code><br/>
<code>DEL: https://p.pantsu.cat/api/(PASTE)</code><br/>
<p>Source: <a href="https://github.com/ewhal/Pastebin">Github</a></p>
<p>Tools: <a href="https://github.com/ewhal/scripts/paste.sh">Github</a></p>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->