nojima / httpie-go

httpie-like HTTP client written in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support --form option

nojima opened this issue · comments

From man of httpie:

--form, -f

Data items from the command line are serialized as form fields.

The Content-Type is set to application/x-www-form-urlencoded (if not specified). The presence of any file fields results in a multipart/form-data request.