Add a new pet to the store
POST
/petRequest
Body Params application/x-www-form-urlencoded
name
string
required
Pet Name
Example:
Hello Kitty
status
string
required
Pet Sales Status
Example:
sold
Request samples
Responses
OK(201)
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
code
integer
required
>= 0<= 0
data
#/definitions/4168524required
Example
{
"code": 0,
"data": {
"name": "Hello Kitty",
"photoUrls": [
"http://dummyimage.com/400x400"
],
"id": 3,
"category": {
"id": 71,
"name": "Cat"
},
"tags": [
{
"id": 22,
"name": "Cat"
}
],
"status": "sold"
}
}
Last modified: 10 days ago