# `UNSUPPORTED_MEDIA_TYPE` ชนิดข้อมูลไม่รองรับ

Source: https://checkslip.com/problems/unsupported-media-type

- **HTTP status**: `415`
- **เครดิต**: ไม่หัก

## ความหมาย

header `Content-Type` ไม่ตรงกับที่ route นี้รับ (เช่น ส่ง text แทน `application/json`)

## วิธีแก้

ส่ง `Content-Type` ตามเอกสารของ route นั้น เช่น `application/json`

## ตัวอย่าง response

```
{
  "type": "https://checkslip.com/problems/unsupported-media-type",
  "title": "ชนิดข้อมูลไม่รองรับ",
  "status": 415,
  "code": "UNSUPPORTED_MEDIA_TYPE",
  "instance": "01a18600-0000-7000-8000-000000000000"
}
```
