Logo
1 API Documentation

Add a new pet to the store

POST {{baseUrl}}/pet

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'https://petstore.swagger.io/v2/pet' -H 'Content-Type: application/json' -d '{"name":"doggie","photoUrls":["non officia","Ut"],"id":30334933,"category":{"id":-96006622,"name":"magna"},"tags":[{"id":-77525096,"name":"do exercitation officia minim"},{"id":-63479648,"name":"eiusmod cupidat"}],"status":"available"}'

ENDPOINTS