Page 1 of 1

Socket Support for HTTP(S) Requests

Posted: Mon Nov 25, 2019 5:10 pm
by mminsel
Hi,

It would be nice to get support for socket communication, especially for http and https requests into Moho.
This way one could make requests to a web-based production database directly.

I tried to get this to run by building the following repos:
https://github.com/diegonehab/luasocket
https://github.com/brunoos/luasec/wiki

Although I was able to use them in standard Lua 5.2 I wasn't able to get it to work with Moho (Error: Multiple Lua VMs detected)

http://www.lostmarble.com/forum/viewtop ... 08#p189623

Re: Socket Support for HTTP(S) Requests

Posted: Mon Nov 25, 2019 11:52 pm
by synthsin75
The easiest way to interface anything to/through Moho Lua is to use the command prompt.