Fix up api endpoint examples
This commit is contained in:
parent
ea2e485638
commit
80fe735ba0
|
@ -472,14 +472,13 @@
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
<div class="well">
|
<div class="well">
|
||||||
<code>$ <command> | curl -X POST -F 'p=<-' https://p.pantsu.cat/p</code><br/>
|
<code>$ <command> | curl -X POST -F 'p=<-' https://p.pantsu.cat/api</code><br/>
|
||||||
<code>POST https://p.pantsu.cat/p/(XML|JSON|HTML)</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/p/(PASTE)/(lang)</code><br/>
|
||||||
<code>GET: https://p.pantsu.cat/raw/(PASTE)</code><br/>
|
<code>DEL: https://p.pantsu.cat/api/(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/>
|
|
||||||
<p>Source: <a href="https://github.com/ewhal/Pastebin">Github</a></p>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||||
|
|
|
@ -465,14 +465,13 @@
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
<div class="well">
|
<div class="well">
|
||||||
<code>$ <command> | curl -X POST -F 'p=<-' https://p.pantsu.cat/p</code><br/>
|
<code>$ <command> | curl -X POST -F 'p=<-' https://p.pantsu.cat/api</code><br/>
|
||||||
<code>POST https://p.pantsu.cat/p/(XML|JSON|HTML)</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/p/(PASTE)/(lang)</code><br/>
|
||||||
<code>GET: https://p.pantsu.cat/raw/(PASTE)</code><br/>
|
<code>DEL: https://p.pantsu.cat/api/(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/>
|
|
||||||
<p>Source: <a href="https://github.com/ewhal/Pastebin">Github</a></p>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||||
|
|
Loading…
Reference in New Issue