---
lang: en
title: 'API docs: rest.bodyparsermiddleware'
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.bodyparsermiddleware.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [BodyParserMiddleware](./rest.bodyparsermiddleware.md)

## BodyParserMiddleware type

Express body parser function type

<b>Signature:</b>

```typescript
export declare type BodyParserMiddleware = (request: Request, response: Response, next: (err: HttpError) => void) => void;
```

