dky / go-file-upload

Go web service that accepts POST uploads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go web service that allows you to upload files via POST

This came about when I needed to get files off a remote container not in my control. The only tool I had access to was curl so this was a POC that ended up working.

Using curl to upload files example

Uploading a single file

curl -F 'uploadfile=@/tmp/token-working.rb' http://localhost:9092/upload

About

Go web service that accepts POST uploads


Languages

Language:Go 78.7%Language:Groovy 19.0%Language:Dockerfile 2.3%