pidgin/carrier

9314823b9c48
Parents 937f50c92885
Children ca0c732f744b
Since we're not receiving a post, just use Form instead of PostForm
--- a/uptimerobot/uptimerobot.go Tue May 14 22:37:10 2019 -0500
+++ b/uptimerobot/uptimerobot.go Tue May 14 22:46:11 2019 -0500
@@ -68,8 +68,8 @@
// build the content of our sms
content := fmt.Sprintf(
"%s is %s",
- r.PostForm["monitorFriendlyName"][0],
- r.PostForm["alertTypeFriendlyName"][0],
+ r.Form["monitorFriendlyName"][0],
+ r.Form["alertTypeFriendlyName"][0],
)
// now send the sms