UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

35 lines (22 loc) 851 B
--- lang: en title: 'API docs: rest.bodyparser.parse' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest 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 | Request | http request | <b>Returns:</b> Promise&lt;[RequestBody](./rest.requestbody.md)<!-- -->&gt;