Find pet by ID
1 min
GET
//petstore.swagger.io/v2/pet/{petId}
petIdintegerID of pet to return
200successful operation
400Invalid ID supplied
404Pet not found
405Invalid input
curl --location '//petstore.swagger.io/v2/pet/8' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'Returns a single pet
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.