uploads an image
Path Parameters
- petIdrequired
ID of pet to update
Form Data
- additionalMetadata
Additional data to pass to server
- file
file to upload
Responses
- 200
successful operation
POST/pet/{petId}/uploadImage
curl https://petstore.swagger.io/v2/pet//uploadImage \
--request POST \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data "additionalMetadata=&file="
{
"code": 1,
"type": "…",
"message": "…"
}