Create a pet

POST /pets

Responses

  • unexpected error

    Hide response attributes Show response attributes object
  • Null response

POST /pets
curl \
 -X POST http://petstore.swagger.io/v1/pets
Response examples (default)
{
  "code": 42,
  "message": "string"
}
Response examples (default)
{
  "code": 42,
  "message": "string"
}