[Suggestion] Ability to upload data to katb.in from command line via curl
tur1ngb0x opened this issue · comments
tur1ngb0x commented
It would be nice to have a functionality similar to
$ command | curl -F 'f:1=<-' ix.io
example
$ cat /etc/fstab | curl -F 'f:1=<-' ix.io
output
http://ix.io/3ukb
Amogh Lele commented
curl -X POST https://katb.in/api/paste --data-binary "paste[content]=$(cat log.txt)"