Parse Form Data (PHP style)


To create your middleware object:

var parseFormdata = require('ftybr-parse-formdata')();

Once you've instantiated it, you may add this middleware to your ftybr router:


This middleware will create a req.data object containing the parsed data from any GET query string, POST form data and or POST JSON data. The POST data will overwrite any GET data.