diff --git a/htdocs/themes/bootstrap/views/about.php b/htdocs/themes/bootstrap/views/about.php index d695820..2a54aaa 100644 --- a/htdocs/themes/bootstrap/views/about.php +++ b/htdocs/themes/bootstrap/views/about.php @@ -1,8 +1,15 @@ load->view("defaults/header");?> -
Create pastes from the commandline
+Create pastes from the commandline
-
- On success, the API returns the paste URL:
- On error, the API returns the error message: Error: Missing paste text
-
+ On success, the API returns the paste URL:
+ On error, the API returns the error message: Error: Missing paste text
+
+
-
text=[your paste text]
- The paste content. Required.
+text=[your paste text]
+ The paste content. Required.
-title=[title]
- Title for the paste.
+title=[title]
+ Title for the paste.
-name=[name]
- The author's name.
+name=[name]
+ The author's name.
-private=1
- Make paste private.
+private=1
+ Make paste private.
-lang=[language]
-
- Use alternative syntax highlighting.
- Possible values:
-
lang=[language]
+
+ Use alternative syntax highlighting.
+ Possible values:
+
expire=[minutes]
- Set paste expiration.
+expire=[minutes]
+ Set paste expiration.
-reply=[pasteid]
- Reply to existing paste.
+reply=[pasteid]
+ Reply to existing paste.
-+
-
curl -d text='this is my text'
- Create a paste with the text 'this is my text'.
+curl -d text='this is my text'
+ Create a paste with the text 'this is my text'.
-curl -d private=1 -d name=Herbert --data-urlencode text@/etc/passwd
- Create a private paste with the author 'Herbert' and the contents of '/etc/passwd'.
+curl -d private=1 -d name=Herbert --data-urlencode text@/etc/passwd
+ Create a private paste with the author 'Herbert' and the contents of '/etc/passwd'.
-curl -d lang=php --data-urlencode text@main.php
- Create a paste with PHP syntax highlighting.
- -curl
- Display paste.
+curl -d lang=php --data-urlencode text@main.php
+ Create a paste with PHP syntax highlighting.
+curl
+ Display paste.
+