Skip to content

Create an Image Validation Test by Image Upload

Request

Create an image validation test by image upload

Security
basicAuth
Bodyapplication/jsonrequired
imagestring, (binary)
curl -i -X POST \
  -u '<username>:<password>' \
  https://api.mailgun.net/v1/inspect/images/upload \
  -H 'Content-Type: application/json' \
  -d '{
    "image": "string"
  }'

Responses

A 200 response

Bodyapplication/json
metaobject or null
itemsgithub.com-mailgun-inspect-internal-imagevalidation-ImageValidation (object) or null
Any of:
Response
{ "meta": { "status": "Complete" }, "items": { "id": "67b629564b911fa30a4d7873", "images": [] } }