Create a pet
POST /v1/pets creates a pet.
Request body
| Field | Type | Required |
|---|---|---|
name |
string | yes |
species |
cat or dog |
yes |
Example
curl -X POST https://api.pawprint.test/v1/pets \
-H "Authorization: Bearer $PAWPRINT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Mochi","species":"cat"}'