---
updatedAt: 2025-07-16T18:19:56.000Z
agentTools:
  projectIndex: https://docs.appery.io/llms.txt
---

# mimeType

request.mimeType()

Returns the MIME type (content type) of a ***POST*** request. Returns ***null*** for a ***GET*** request.

## Example

This example shows a script prints the MIME type of a ***POST*** request. The request body is in JSON format.

```json
{
  "email": "james@appery.io",
  "title": "Engineer",
  "location": "Barcelona"
}
```

```text
console.log(request.mimeType());
```

```text
application/json
```