Page Contents

Home > @loopback/rest > invokeBodyParserMiddleware

invokeBodyParserMiddleware() function

Parse the request body asynchronously

Signature:

export declare function invokeBodyParserMiddleware(handle: BodyParserMiddleware, request: Request): Promise<any>;

Parameters

Parameter Type Description
handle BodyParserMiddleware The express middleware handler
request Request Http request

Returns:

Promise<any>