Pets
Everything about your pets
Everything about your pets
1
Fluffy
dog
Pet created
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"
}
Pet created
No content
curl -L https://petstore.example.com/v1/pets
[
{
"id": 1,
"name": "Fluffy",
"tag": "dog",
"status": "available"
}
]
{
"id": 1,
"name": "Fluffy",
"tag": "dog",
"status": "available"
}