UNPKG

@loopback/docs

Version:
34 lines (21 loc) 718 B
--- lang: en title: 'API docs: rest.bodyparser.parse' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar permalink: /doc/en/lb4/apidocs.rest.bodyparser.parse.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [BodyParser](./rest.bodyparser.md) &gt; [parse](./rest.bodyparser.parse.md) ## BodyParser.parse() method Parse the request body <b>Signature:</b> ```typescript parse(request: Request): Promise<RequestBody>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | request | <code>Request</code> | http request | <b>Returns:</b> `Promise<RequestBody>`