Add a new pet to the store
POST
/pet
pet
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/pet' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"category": {
"id": 1,
"name": "string"
},
"name": "doggie",
"photoUrls": [
"string"
],
"tags": [
{
"id": 0,
"name": "string"
}
],
"status": "available"
}'
Response Response Example
{}
Request
Body Params application/json