Punjab Jobs AI Bootcamp · Session 7

SalonEase API

Vercel serverless functions backed by a Supabase database. Press a button — the request URL, the status code and the real JSON response all appear below.

Base URL: …
GET/api/hello

Proves the pipeline works. No input, no database.

GET/api/greet

Input shapes the response — your first query parameter.

GET/api/bookings

Reads every booking from Supabase and totals the day's revenue.

POST/api/bookings

Writes a new booking into the database and returns the created row.

GET/api/weather

Calls Open-Meteo, then turns the temperature into a drink and a service suggestion. No API key needed.

GET/api/notify-test

Fires a test WhatsApp message and a test email without creating a booking. Reports which channel worked.

Response Press a button above
Nothing called yet.