Closed NonlinearFruit closed 7 years ago
What error is received? make sure to use the https://
component, not the short url you have slack only
accepts https.
You might want to pass your data through a json validator just to be sure it's valid, or grab a json lua library (looks valid, but you never know)
Also what versions of MC/OpenCopmuters are you using?
The https://
worked! I tried all sorts of stuff, I can't believe I missed that. Thanks!
For future reference, here is the error. I also missed the first line: invalid address
.
Any ideas how I could post messages to a Slack channel via an incoming web hook? I need to send a JSON payload to a URL and I'm not sure how I can do this from the api that
internet.lua
provides.I tried this but it gives me an error: