https request

Posted by LZN on Thu 29 Sep 2016 07:55 AM — 4 posts, 18,565 views.

#0
Hi all,

Is MUSHCliet support https request with Lua script ?
I tested http request (require "socket.http"), it works.

Also I tried luasec for windows, binary is obtained from here:
http://lua-users.org/lists/lua-l/2016-01/msg00269.html

by putting files into mushclient folder.

And got issue to load module "ssl.https"

local https = require "ssl.https"



Run-time error
World: 7777
Immediate execution
[string "Immediate"]:1: loop or previous error loading module 'ssl.https'
stack traceback:
        [C]: in function 'require'
        [string "Immediate"]:1: in main chunk
Amended on Thu 29 Sep 2016 08:06 AM by LZN
USA Global Moderator #1
It is possible, but getting all the pieces in the right place can be tricky. I do it in the Aardwolf package.
#2
Fiendish said:

It is possible, but getting all the pieces in the right place can be tricky. I do it in the Aardwolf package.


Yes, I have copy files from your git repo, still can not load module.
http://www.gammon.com.au/forum/?id=12520&reply=1#reply1

How can I dig more debug information about this load module error problem ?

And any chance this https request feature can be built in MUSHClient ? :D
Australia Forum Administrator #3
I don't want to go down the path that some other programs do, where they start adding in everything except the kitchen sink.