Another:
cat file | curl -F 'sprunge=<-' sprunge.us cat file | curl -F 'sprunge=<-' sprunge.us curl -T /path/to/any/file flag.io
# or
cat some-file | curl -T - flag.io
Basically, pipe anything you want into it. It can also syntax-highlight your text files.