Datoka Hooks - Python / JavaScript / MCP examples
Guide: https://datoka-hooks-test.bhazarstudio.workers.dev/examples
1. Register your HTTPS receiver and verify its ownership challenge.
2. Save the downloaded access file privately, outside this folder/repository.
3. Pick ONE command, from this directory:
   python send-http.py /private/access.json job-demo-001 event.json
   node send-http.mjs /private/access.json job-demo-001 event.json
   npm install
   node send-mcp.mjs /private/access.json job-demo-001 event.json
Python: 3.10+ (standard library only). JavaScript: Node 24+.
npm install is only needed for the MCP example.
Keep the SAME event ID and unchanged event.json when retrying.
HTTP 202 means accepted, not delivered. Read the delivery status afterwards.
These examples never purchase credits or send operator emails.
demo-result.json is a retained local simulated demo result, not a live run.
