Updates a pet in the store with form data
Path Parameters |
---|
petId int64 — REQUIREDID of pet that needs to be updated |
Request Body |
---|
name stringUpdated name of the pet |
status stringUpdated status of the pet |
Responses |
---|
405 Invalid input |
Path Parameters |
---|
petId int64 — REQUIREDID of pet that needs to be updated |
Request Body |
---|
name stringUpdated name of the pet |
status stringUpdated status of the pet |
Responses |
---|
405 Invalid input |
updatePetWithForm
POST /pet/:petId
//petstore.swagger.io/v2
curl -L -X POST '//petstore.swagger.io/v2/pet/:petId' \
-H 'Content-Type: application/x-www-form-urlencoded'