szabodanika / microbin

A secure, configurable file-sharing and URL shortening web app written in Rust.
https://microbin.eu
BSD 3-Clause "New" or "Revised" License
2.51k stars 151 forks source link

Easier uploading #224

Open ghost opened 9 months ago

ghost commented 9 months ago

Is your feature request related to a problem? Please describe. I like to pipe. Piping is my favourite thing to do. With "the null pointer" (what i currently use), I can pipe output to curl and get a link with my paste.

Describe the solution you'd like I would like the /upload route to allow a raw text body and return a link so I can pipe output to curl and get a shareable link. Also for just file uploads this would be absolutely golden :)

Describe alternatives you've considered I use the previously stated "null pointer" paste bin thing.

Additional context none