JsonBodyParser Class
Provides function to construct the structure needed to display the navigation in the Admin section of the application.
Constructor
JsonBodyParser
()
Item Index
Methods
Methods
getRawData
(
-
cb
Retrieves the raw payload data as a string
Parameters:
-
cbFunction
parse
(
-
req -
cb
Attempts to parse the request body as JSON content
Parameters:
-
reqRequestThe incoming request whose payload should be parsed
-
cbFunctionA callback that taks two parameters: An Error, if occurred and the parsed body content as an object
