2022-11-02 15:46:41 +01:00

29 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>About</title>
</head>
<body>
<pre>
Welcome at PASTABBLE!
ABOUT
Pastable is a lightweight and fast pastebin alternative, and URL-shortener made by Plabble and written in Rust.
USAGE
Get /: Show this page
Get /{id}: Get paste by ID and return in plain text
Post /: Create new paste (plain text raw body or form parameter 'content') and return random generated key
Post /{id}: Create new paste (plain text raw body) and return requested key if available, else random generated key
FROM TERMINAL
Pipe your input into: curl -F 'content=&lt;-' paste.plabble.org -w "\n"
Or post it as raw data like: curl paste.plabble.org -H "Content-Type: text/plain" -d @- -w "\n"
You can create an alias for this! To get the result: curl paste.plabble.org/YOURID
</pre>
</body>
</html>