mholt / curl-to-go

Convert curl commands to Go code in your browser

Home Page:https://mholt.github.io/curl-to-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

--form POST

avelino opened this issue · comments

--form POST

I don't know what this means :-/

-F, --form CONTENT Specify HTTP multipart POST data (H)
example:

curl  --form "field=value" https://...

Oh. Are you requesting this feature to be added?

Yeah

Okay. More than two words would have been nice. :)

Due to constraints on my time, I'll be happy to add this feature but can only work on it if the requester (or somebody) can provide the equivalent Go code for a curl command. I simply don't have the time to figure that out right now. Will re-open if the Go code and a curl command is provided.