You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But how to upload array of files like the following, curl -X POST http://localhost:8080/upload -F "images[]=@/home/amp/hack/property1.jpg" -F "images[]=@/home/ack/property2.jpeg" -H "Content-Type: multipart/form-data"
And give me suggestion for the same above code, how to get some parameters with documents. Finally request will be like,
Activity
tboerger commentedon Dec 23, 2016
@andreynering does this also work with your form array value patch?
andreynering commentedon Dec 23, 2016
Haven't tried by I don't think so.
c.Request.FormFileis Go's method, not Gin's.appleboy commentedon Dec 24, 2016
@tboerger @selvam347 @andreynering
I create new PR to support upload single or multiple files. #775
upload single file:
curl command:
upload multiple file:
curl command:
appleboy commentedon Dec 27, 2016
Closed by #775
roushanj commentedon Feb 22, 2018
How to upload In S3 Bucket ?
