FormBodyParser Class
Parser for incoming form bodies. The parser handles application/x-www-form-urlencoded and multipart/form-data encoded data. Any uploaded files are stored locally and a descriptor object is passed as the parsed result.
Constructor
FormBodyParser
()
Item Index
Methods
Methods
getRawData
(
-
cb
Retrieves the raw payload data as a string
Parameters:
-
cb
Function
parse
(
-
The
-
A
Attempts to parse the request body as multi-part or form/url encoded content
Parameters:
-
The
Requestincoming request whose payload should be parsed
-
A
Functioncallback that taks two parameters: An Error, if occurred and the parsed body content as an object