5 posts tagged with “web-app”

Require Shared Secret

A public /exec URL is easy to leak, so your doPost shouldn't trust whoever calls it. requireSharedSecret(e, propertyKey) reads the expected…

Health Check Payload

When a client asks “is the thing still working?”, you want a URL you can open (or point an uptime monitor at) that answers in one line…

JSON OK / ERR helpers for Web Apps

doGet / doPost handlers stay readable when every success and failure returns the same JSON shape. jsonOk / jsonErr wrap ContentService so…