Pets
Everything about your pets
Last updated
Was this helpful?
Everything about your pets
Last updated
Was this helpful?
Was this helpful?
curl -L https://petstore.example.com/v1/pets
[
{
"id": 1,
"name": "Fluffy",
"tag": "dog",
"status": "available"
}
]POST /v1/pets HTTP/1.1
Host: petstore.example.com
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"id": 1,
"name": "Fluffy",
"tag": "dog",
"status": "available"
}GET /v1/pets/{petId} HTTP/1.1
Host: petstore.example.com
Accept: */*
{
"id": 1,
"name": "Fluffy",
"tag": "dog",
"status": "available"
}