add twitch api

This commit is contained in:
Jay
2018-09-12 00:29:38 +08:00
parent fc007136db
commit f70d11517c
6 changed files with 250 additions and 8 deletions
+2 -2
View File
@@ -98,7 +98,7 @@ func PushMessage(target string, message interface{}) {
reqObj := apis.RequestObj{
Method: "POST",
Url: apiURL,
URL: apiURL,
Headers: getHeaders(),
Body: byteReader,
}
@@ -158,7 +158,7 @@ func ReplyMessage(replyToken string, message interface{}) {
reqObj := apis.RequestObj{
Method: "POST",
Url: apiURL,
URL: apiURL,
Headers: getHeaders(),
Body: byteReader,
}