0.1.0 • Published 10 years ago
request-arguments-parser v0.1.0
Parses a HTTP request argument, regardless of whether it is a GET, POST form, JSON or route parameter.
Currently only work with express requests.
If an argument key is on passed multiple times (ie: GET /api/?service=) only one is return. The following hierarchy is respected (the first encounter wins)
You have to prepare the request with the connect.bodyParser, json or/and urlencoding middleware.
0.1.0
10 years ago