Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
rainerscript: new function "http_request" #2146
6 times, most recently
Dec 1, 2017
Dec 18, 2017
15 checks passed
OK, I'll first provide a switch to disable it.
Building it outside the core requires a whole new callable interface (for functions). Unfortunately I have no time to design and implement this ATM. So I hope it is OK to provide the switch initially.
In general, everything can be abused. It won't offer better performance if we do it via a message modification module. A prime legit case is to obtain AWS metadata and the like. I don't want to add a specialized function for each and every of such calls. With the ability to do a http request very easily and a bit of script logic, this is nicely and easily done.