Skip to main content

uploads an image

Path Parameters
petId int64 REQUIRED

ID of pet to update

Request Body
string
Responses
200

successful operation

Schema OPTIONAL
code int32 OPTIONAL
type string OPTIONAL
message string OPTIONAL
uploadFile
POST /pet/:petId/uploadImage
petId — path
Body
Body
//petstore.swagger.io/v2
curl -L -X POST '//petstore.swagger.io/v2/pet/:petId/uploadImage' \
-H 'Content-Type: application/octet-stream' \
-H 'Accept: application/json'