---
lang: en
title: 'API docs: rest.rawbodyparser.supports'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.rawbodyparser.supports.html
---

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

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RawBodyParser](./rest.rawbodyparser.md) &gt; [supports](./rest.rawbodyparser.supports.md)

## RawBodyParser.supports() method

<b>Signature:</b>

```typescript
supports(mediaType: string): boolean;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  mediaType | <code>string</code> |  |

<b>Returns:</b>

`boolean`


