Skip to main content

File part with multiple selectable Content-Types

POST 

/anything/multi-content-type

Verifies the Content-Type selector UI: when encoding.contentType is a comma-separated list, a dropdown appears next to the file picker letting the user choose which type to use. The code snippet and actual request both update to reflect the selection.

Schema:

encoding:
attachment:
contentType: image/png, image/jpeg, application/octet-stream

Request

Responses

Request echoed by HTTPBin — verify the attachment Content-Type matches your selection