Add debug endpoints for SMS POST webhook

This gets me data in the log, which actually has content.
This commit is contained in:
Eli Ribble 2025-12-12 22:17:40 +00:00
parent 13fcfffcd6
commit 14887722a0
No known key found for this signature in database
2 changed files with 33 additions and 0 deletions

View file

@ -132,8 +132,10 @@ func main() {
r.Get("/signup", getSignup)
r.Post("/signup", postSignup)
r.Get("/sms", getSMS)
r.Post("/sms", postSMS)
r.Get("/sms.php", getSMS)
r.Get("/sms/{org}", getSMS)
r.Post("/sms/{org}", postSMS)
// Authenticated endpoints
r.Method("GET", "/cell/{cell}", NewEnsureAuth(getCellDetails))