@loopback/docs
Version:
Documentation for LoopBack 4
34 lines (21 loc) • 718 B
Markdown
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) > [@loopback/rest](./rest.md) > [BodyParser](./rest.bodyparser.md) > [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>`