<command> | curl -F 'file=@-' -F 'type=text/plain' https://paste.gnugen.ch
fileThe file that will be uploaded and served. This is the only required field.
typeForce a different mime-type than the one recognized by your user agent. You need to specify that when piping to curl or you will end up with
expireThe desired expiration date. This field defaults to one year. Valid units are s(econds), h(ours), d(ays), w(eeks) and m(onths).This service is provided with no guarantees of any kind. Please note that your IP address will be stored for security purposes.