One of the new features added to
XMLHttpRequest Level 2 (http://www.w3.org/TR/XMLHttpRequest2/) is the
FormData object. This enables us to use a set of key-value pairs that can be sent using AJAX. The most common use is in sending binary files or any other large amount of data. In this recipe, we will create two scripts that will send
The server will be done in Nodejs using restify (http://mcavage.github.io/node-restify/). In order to install the dependencies, a
package.json file can be created where restify will be added.
HTTP POSTwith type ...