Logic Machine Forum
How to add http.lua - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: How to add http.lua (/showthread.php?tid=4730)



How to add http.lua - a455115 - 23.04.2023

Hello,

I would like to add the http.lua library, but I don't know exactly how to add libraries in LM 5. Is there a way remotely via ftp or with a LUA script, maybe some other way to add? Can you give me a hand?


RE: How to add http.lua - admin - 24.04.2023

You can use user libraries for this. But there's already a HTTP client library built-in: https://w3.impa.br/~diego/software/luasocket/http.html, for HTTP server you can use .lp scripting instead of creating a separate server via a script.