Multiparty Parsing for Argo
Simple middleware harnessing multiparty for parsing. The parsed multiparty result is thrown into env.multiparty
.
Sample:
curl -i -X POST -H "Content-Type:multipart/form-data" -F name=test -F test=hello -F filedata=@test.txt http://localhost:3000/
//Get a file upload. Write it's original filename +'0' to the main directory of this app.var argo = ;var argoMultiparty = ;var fs = ; ;