Maybe one of you can help me, since I can't find something online.
I want to do a transfer.sh-like app in Go. So you can upload a file with curl, it gets stored there for some time and you can download it later.
The problem is, I only found tutorials for uploading files over html-forms, not over curl.

Does any of you know, how to write a handle-function, that accepts something Like
"Curl --upload-file SUPERIMPORTANT localhost:9999/upload"

Add Comment