Socket Support for HTTP(S) Requests

Discuss ideas for new features with other users. To submit feature requests to Smith Micro, please visit support.smithmicro.com

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

Post Reply
mminsel
Posts: 4
Joined: Fri Oct 25, 2019 10:38 am

Socket Support for HTTP(S) Requests

Post by mminsel » Mon Nov 25, 2019 5:10 pm

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
User avatar
synthsin75
Posts: 7155
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Socket Support for HTTP(S) Requests

Post by synthsin75 » Mon Nov 25, 2019 11:52 pm

The easiest way to interface anything to/through Moho Lua is to use the command prompt.
Post Reply