An easy interface for sending data via the multipart/form-data protocol
Multipost is easily installable via npm. Just run the following command:
$ npm install multipost
Or, if you'd like to install Multipost at the global level, at the global flag
$ npm install multipost -g
There are quick start examples found in the test directory. Here's a basic usage for uploading a standard form:
var multipost = require"multipost";var postFields =name: "field1" //Requiredvalue: "thisisfield1" //Requiredname: "field2"value: "thisisfield2";var req = "" postFields;reqpostconsole.logresdata;;
This module is released under the GPL.