Create a pet

POST /pets

Responses

  • Null response

  • unexpected error

    Hide response attributes Show response attributes object
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"
}