Skip to main content

JSON metadata part + binary file part

POST 

/anything/json-metadata-and-file

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:

encoding:
metadata:
contentType: application/json
file:
contentType: image/png

Request

Responses

Request echoed by HTTPBin — inspect part Content-Types