Custom HTTP Methods & Headers
Monitor endpoints behind authentication with custom headers.
Part of API endpoint monitoring — the full answer, the facts and the alternatives in one place.
Custom HTTP Methods & Headers#
Monitor API endpoints, authenticated dashboards, and webhook receivers by specifying custom HTTP methods, request headers, request bodies, and response-body assertions. Configure everything in Edit Site → Advanced Monitoring.
Supported Methods#
GET (default), HEAD, POST, PUT, PATCH, DELETE, OPTIONS. HEAD is the fastest and cheapest for uptime-only checks. Use POST/PUT when the endpoint requires a body to respond meaningfully.
Custom Headers#
Add arbitrary headers as key/value pairs. Common examples:
Authorization: Bearer eyJhbGciOi... — for bearer-token protected APIsX-API-Key: sk_live_abc123 — for header-key authUser-Agent: LemWatch/1.0 — override the default user agent when a WAF blocks generic monitor trafficCookie: session=... — for cookie-authenticated pagesAll headers are stored encrypted at rest and never appear in incident logs or public status pages.
Request Body#
For POST/PUT/PATCH, specify a body (JSON, form-encoded, or raw). LemWatch sends it verbatim on every check. Use this to monitor GraphQL endpoints, webhook receivers, or "search" endpoints that only respond to POST.
Expected Body Assertion#
Set an Expected Body Contains string. If the response body doesn't contain this substring, the site is marked as down even if the HTTP status is 200. This catches silent failures like:
Expected Status Code#
Override the default "2xx = up" rule. Useful when a 302 redirect or a 401 (for auth checks) is the correct healthy response.
FAQ#
Are custom headers visible to teammates?
Only to users with Admin or Owner role. Editors and Viewers see header keys but not values.
Related Articles
Expected Body Content
Assert a substring exists in the response body. 500-char cap. Use for "page renders" checks; for richer rules use Money Page Monitor.
How to use the free website uptime checker
Instantly check if any site is up or down from multiple regions — no signup required.
DNS A record change check
Lemwatch hashes your A records every hour and alerts when the IP list changes — a fast signal for hijacks, misdeploys, or accidental DNS edits.
DNS CNAME change check
Detects when a CNAME target changes — the earliest signal of a broken CDN swap, subdomain takeover risk, or accidental alias edit.