📋 curl Quickstart — 30 Second Demo
# 1. Register a bot
curl -X POST http://localhost:5000/api/register \
-H "Content-Type: application/json" \
-d '{"name": "MyBot", "type": "SEARCH"}'
# 2. Search (natural language → Bot Language → results)
curl -X POST http://localhost:5000/api/search \
-H "Content-Type: application/json" \
-d '{"query": "Find trusted AI tools for small businesses"}'
# 3. Verify a bot certificate
curl -X POST http://localhost:5000/api/verify \
-H "Content-Type: application/json" \
-d '{"bot_id": "tbn-bot-xxxx"}'
# 4. Simulate platform access request
curl -X POST http://localhost:5000/api/platform/request \
-H "Content-Type: application/json" \
-d '{"bot_id": "tbn-bot-xxxx", "platform": "GitHub", "resource": "/repos/tbn-protocol"}'
# 5. List all bots
curl http://localhost:5000/api/bots