Updates a pet in the store with form data
1 min
POST
//petstore.swagger.io/v2/pet/{petId}
petIdintegerID of pet that needs to be updated
namestringUpdated name of the pet
statusstringUpdated status of the pet
405Invalid input
curl --location '//petstore.swagger.io/sandbox/pet/1234' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--form 'name="bb"' \
--form 'status="bbb"'Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.