(This post was last modified: 02-09-2021, 10:28 AM by Alots.)
#1
https://fbin.pw

api:
Return values
On success, the API returns the paste URL: https://fbin.pw/view/[pasteid]
On error, the API returns the error message: Error: Missing paste text

Examples
Create paste
curl -d text='this is my text' https://fbin.pw/api/create
Create a paste with the text 'this is my text'.

Create paste from a file
curl -d private=1 -d name=Herbert --data-urlencode [email protected]/etc/passwd https://fbin.pw/api/create
Create a private paste with the author 'Herbert' and the contents of '/etc/passwd'.

Create paste from a php file
curl -d lang=php --data-urlencode [email protected] https://fbin.pw/api/create
Create a paste with PHP syntax highlighting.

Create paste via a pipe
echo foo | curl --data-urlencode [email protected] https://fbin.pw/api/create
Create a paste based on standard output of a command.

Get paste ;-)
curl https://fbin.pw/view/raw/[pasteid]
Display paste.