# JSON metadata part + binary file part

`POST /anything/json-metadata-and-file`

Tags: `multipartEncoding`

Verifies that:
- The `metadata` string part is sent with `Content-Type: application/json`
- The `file` binary part is sent with `Content-Type: image/png`

This is the canonical use-case from issue #1247.

Schema:
```yaml
encoding:
  metadata:
    contentType: application/json
  file:
    contentType: image/png
```

## Servers

- `https://httpbin.org`: HTTPBin (inspect actual request parts in the response)

## Request body (required)

### Content type: `multipart/form-data`

Schema: `object`

- `metadata` (string, required)
  JSON metadata for the file.
- `file` (string<binary>, required)
  The file to upload.

Encoding of each part:

- `metadata`: content type `application/json`
- `file`: content type `image/png`

## Responses

### 200

Request echoed by HTTPBin — inspect part Content-Types
