diff --git a/cclink.lua b/cclink.lua index 613344c..538430c 100644 --- a/cclink.lua +++ b/cclink.lua @@ -8,6 +8,9 @@ WEBHOOKS={ -- example -- PAYLOAD="meow! :3" PAYLOAD=nil +HEADERS={ + ["Content-Type"] = "text/plain", +} while true do state=false @@ -17,5 +20,5 @@ while true do state=true end end - http.request(WEBHOOKS[state], PAYLOAD) + http.request(WEBHOOKS[state], PAYLOAD, HEADERS) end