Hey, human!
This is what your agent sees atdocs.example.com/endpoint/createpet
HTTP/2 200 OK content-type: text/markdown; charset=utf-8 vary: accept, user-agent x-agent: [ai_agent]
Loading the agent response…
Create a pet
Adds a new pet to the store. The pet is automatically assigned an ID and its status is set to "available".
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 create a pet. Use the Test API. Read the reference for this operation and follow it exactly: https://docs.eggubator.co/endpoint/createpet.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.
POST
https://google.com/petscurl --request POST \
--url https://google.com/pets \
--header 'Authorization: Bearer $API_KEY' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Buddy",
"species": "Dog",
"age": 3
}
'Body
application/jsonrequirednamestringName of the pet
speciesstringSpecies of the pet
ageintegerAge of the pet in years