Backup commit
This commit is contained in:
parent
6d52e83732
commit
b1094768aa
@ -12,7 +12,7 @@ For usage, see `about.html`
|
||||
| -------- | ------- |
|
||||
| PORT | 8080 |
|
||||
| DATA_DIR | ./data |
|
||||
| URL_PREFIX | "" |
|
||||
| PREFIX | "" |
|
||||
|
||||
## Setup
|
||||
Place the about.html file from this folder in the same folder as the binary
|
||||
|
@ -24,12 +24,12 @@
|
||||
Post /to/{id}: Create new link (plain text raw body) and return requested key if available, else random generated key
|
||||
|
||||
FROM TERMINAL
|
||||
Pipe your input into: curl -F 'content=<-' 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
|
||||
Pipe your input into: curl -F 'content=<-' https://paste.plabble.org -w '\n'
|
||||
Or post it as raw data like: curl https://paste.plabble.org -H 'Content-Type: text/plain' -d @- -w '\n'
|
||||
You can create an alias for this! To get the result: curl https://paste.plabble.org/YOURID
|
||||
|
||||
For links:
|
||||
Pipe your input into: curl -F 'link=<-' paste.plabble.org/to -w '\n'
|
||||
Pipe your input into: curl -F 'link=<-' https://paste.plabble.org/to -w '\n'
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user