$ echo "hello, world" | curl -F 'content=<-' https://pastebin.is/write $ curl -F 'content=<-' https://pastebin.is/write < hello.txt