Originally Posted by Baertram
RequestOpenUnsafeURL() only supports http and https so far as I know.
We had asked to support other links like teamSpeak3, discord etc. as well.
Curious how this works:
You save some data to the SavedVariables of an addon and let an external source (script, executable) parse the SV file + send it as http request then?
As SV will only be updated at reloadui/logout normally: Do you use the "priority update of small data to the SavedVariables" that Zos introduced?
Edit:
Oh I understood it now You use the http link of the github website and RequestOpenUnsafeURL() with the location data as URL ?a=<parameter>
|
Exactly :-)
The github website then forwards the "a" parameter as a json post to my discord channel webhook.
Which just posts it as a new message there.
Quite the wild hack but seems to work...