This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

How to add http.lua
#1
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?
Reply
#2
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.
Reply


Forum Jump: