Hey, human!
This is what your agent sees atdocs.example.com/endpoint/createorder
HTTP/2 200 OK content-type: text/markdown; charset=utf-8 vary: accept, user-agent x-agent: [ai_agent]
Loading the agent response…
Create an order
Places a new order. The order is automatically assigned an ID, its status is set to "pending", and a timestamp is recorded.
What you provide
- User idoptional: ID of the user placing the order
- Pet idoptional: ID of the pet being ordered
Do this with AI
I want to create an order. Use the Test API. Read the reference for this operation and follow it exactly: https://docs.eggubator.co/endpoint/createorder.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/orderscurl --request POST \
--url https://google.com/orders \
--header 'Authorization: Bearer $API_KEY' \
--header 'Content-Type: application/json' \
--data '
{
"userId": 1,
"petId": 2
}
'Body
application/jsonrequireduserIdintegerID of the user placing the order
petIdintegerID of the pet being ordered