curl -i -X POST \ 'https://petstore.swagger.io/v2/pet/{petId}/uploadImage' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: multipart/form-data' \ -F additionalMetadata=string \ -F file=string
{- "code": 0,
- "type": "string",
- "message": "string"
}