Option | Value |
---|---|
{{ key}} | {{ value }} |
Download Script
Pastey provides a script that can be used to paste output directly from the command line:
$ cat /var/log/nginx.log | pastey
$ echo "Hello, Pastey!" | pastey
Download the following, make it executable, and put it in your system PATH to be used anywhere!
JSON
You can also send a properly-formatted json POST request to /json:
{ "content": "This is a paste", "title": "Interesting title", "expiration": -1, "encrypt": true, "single": false }
Note that expiration is some value in hours, and that -1 = no expiration date. Only the content field is mandatory.