Updates a pet in the store with form data

Updates a pet in the store with form data

Path Parameters
  • petId
    required

    ID of pet that needs to be updated

Form Data
  • name

    Updated name of the pet

  • status

    Updated status of the pet

Responses
  • 405

    Invalid input

POST/pet/{petId}
curl https://petstore.swagger.io/v2/pet/ \
  --request POST \
  --header 'Content-Type: application/x-www-form-urlencoded;charset=UTF-8' \
  --data "name=&status="
No Body