Hey, human!
This is what your agent sees atdocs.example.com/endpoint/updatepet
HTTP/2 200 OK content-type: text/markdown; charset=utf-8 vary: accept, user-agent x-agent: [ai_agent]
Loading the agent response…
Update a pet
Updates an existing pet by its numeric ID. Merges the request body into the existing pet record.
What you provide
- Nameoptional: Name of the pet
- Speciesoptional: Species of the pet
- Ageoptional: Age of the pet in years
Do this with AI
I want to update a pet. Use the Test API. Read the reference for this operation and follow it exactly: https://docs.eggubator.co/endpoint/updatepet.md Authenticate with your API key as a Bearer token in the Authorization header. Then make the request for me and tell me what came back.
Paste this into Claude, Cursor, or any AI assistant and it will do it for you.
https://google.com/pets/{id}curl --request PUT \
--url https://google.com/pets/1 \
--header 'Authorization: Bearer $API_KEY' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Buddy",
"species": "Dog",
"age": 3
}
'Path parameters
idintegerrequiredNumeric ID of the resource
Body
application/jsonrequirednamestringName of the pet
speciesstringSpecies of the pet
ageintegerAge of the pet in years