APIs
ENV: prod Domain: apis.bydeb.in

Service Health & DB

Live ping for /health, and DB connectivity from /test-env (PDO + mysqli).
Pings /health every 10s and plots latency (ms).
Calls /test-env every 30s and plots connection times.

GET /health

GET

Quick service status.

GET /test-env

GET

Shows PHP, masked DB config and connection checks (PDO & mysqli).

POST /auth/request-otp

POST

Sends an OTP email and returns otp_id to verify.

POST /auth/verify-otp

POST

Verify email + OTP + otp_id → returns JWT (stored with jti in sessions).

POST /mailer

POST

Sends a welcome email. Requires Bearer token

POST /auth/logout

POST

Revokes the current session. Optional {"all":true}. Requires Bearer token

Built with ❤️ bydeb • Charts: Chart.js • Fully client-side, CORS-friendly • Mobile responsive • 0.0.2