Open technobly opened 9 years ago
I'm not sure what the JVM requirements for this project are, but there appears to be a push to put NodeJS on the JVM: https://avatar-js.java.net/
Hi, I don't understand if here you were asking to be able to make outgoing HTTP(s) requests from within your mod, or if you were wanting to have a light-weight HTTP(s?) server bundled within ScriptCraft to serve up some static web content without requiring some other external (whatever) server? If it's the later, then I've done that in https://github.com/vorburger/ScriptCraft/commit/66aa7c665cc7d33ff168fa4ecd7fa85bf3582f0d if that's of any interest to you.
That sounds cool too @vorburger but I was actually wanting to make outgoing HTTPS GET/POST requests. That way I would not have to use a third party like Bluemix to forward HTTP requests as HTTPS, and could then make direct requests to secure APIs like those of Pushover.net and Spark.io. This would greatly simplify routes.
this issue can be closed because the HTTP request module handle HTTPS requests.
Just started using ScriptCraft and loving it!
I would love to make HTTPS requests to various secure APIs from within Minecraft. Have you looked at adding support for this in the past, and if so what were the limitations?
Currently I'm creating a secondary API that I use as a proxy to convert unsecure HTTP requests into the appropriate HTTPS requests. Since I'm already running Minecraft on a server, I would love to keep everything minimized to one server.
Another idea if somehow it's not possible to run HTTPS from within Minecraft, is potentially interfacing to Node.js from ScriptCraft?