From e164f69b01fe5ed79e14d1576928338c118040f7 Mon Sep 17 00:00:00 2001
From: Claude
- On success, the API returns the paste URL in JSON format: Return values
{"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"}
expire=[minutes]
+ Set paste expiration.
+ +reply=[pasteid]
+ Reply to existing paste.
+@@ -46,6 +52,10 @@
curl -d lang=php --data-urlencode text@main.php
Create a paste with PHP syntax highlighting.
+curl
+ Display paste.
+ load->view("defaults/footer");?>