diff --git a/htdocs/application/views/api_help.php b/htdocs/application/views/api_help.php index 9cd5274..8a6c33c 100755 --- a/htdocs/application/views/api_help.php +++ b/htdocs/application/views/api_help.php @@ -9,7 +9,7 @@

Return values

- On success, the API returns the paste URL in JSON format: {"url":""}
+ On success, the API returns the paste URL in JSON format: {"url":""}
On error, the API returns the error message in JSON format: {"error":"missing paste text"}

@@ -31,6 +31,12 @@ Possible values:

+ expire=[minutes] +

Set paste expiration.

+ + reply=[pasteid] +

Reply to existing paste.

+

Examples

 

@@ -46,6 +52,10 @@ curl -d lang=php --data-urlencode text@main.php

Create a paste with PHP syntax highlighting.

+

Get paste ;-)

+ curl +

Display paste.

+ load->view("defaults/footer");?>