labstack / echox

Echo cookbook and website
https://echo.labstack.com
MIT License
407 stars 285 forks source link

Replace curl's -F option with the -d option #244

Closed tatsuyafw closed 2 years ago

tatsuyafw commented 2 years ago

Hi!

curl's -F option sends data with multipart/form-data header, but the option is used as an example in the application/x-www-form-urlencoded section. The correct option is curl's -d (--data) option.