Add debug endpoints for SMS POST webhook
This gets me data in the log, which actually has content.
This commit is contained in:
parent
13fcfffcd6
commit
14887722a0
2 changed files with 33 additions and 0 deletions
2
main.go
2
main.go
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue