DEV GATEWAY

Developers Corner of oneXcode

Secure, zero-dependency logging and runtime event relay infrastructure routing engine.


🛠️ Integration Quickstart

1. Status Verification (GET / Telegram)

Verify token routing validity and check connected chat IDs directly through your browser or right inside Telegram chat:

GET https://dev.onexcode.com/?api_key=YOUR_API_KEY
Telegram Bot Command: /status YOUR_API_KEY
2. Log Delivery Ingestion Engine (POST)

Send error dumps, JSON states, or application statuses to the gateway payload wrapper. Metadata parameters like your source IP, website origin, and context are extracted automatically.

# Send structured data or raw text via terminal
curl -X POST "https://dev.onexcode.com/" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"event": "global_catch", "status": "critical", "message": "Database timeout connection error."}'
fetch('https://dev.onexcode.com/', {
  method: 'POST',
  headers: {
    'X-API-KEY': 'YOUR_API_KEY',
    'Content-Type': 'text/plain'
  },
  body: 'Exception trace: Runtime execution error collapsed at Line 45.'
});
import requests

url = "https://dev.onexcode.com/"
headers = {"X-API-KEY": "YOUR_API_KEY"}
payload = "Fatal validation error encountered inside authentication flow."

response = requests.post(url, headers=headers, data=payload)

System status: operational • Authorization protocols enforced.