Page Contents

Home > @loopback/rest > BodyParser > parse

BodyParser.parse() method

Parse the request body

Signature:

parse(request: Request): Promise<RequestBody>;

Parameters

Parameter Type Description
request Request http request

Returns:

Promise<RequestBody>