使用lua如何实现http请求并返回?新人求指点
lua吧
全部回复
仅看楼主
level 3
韵芷依然御
楼主
求详细说明。吧 内大神呢
2014年11月20日 06点11分
1
level 8
czfshine
签名好评
2014年11月20日 09点11分
2
level 14
qqirisit
我是调用curl
2014年11月20日 10点11分
3
level 2
贤教3
luasocket
2014年11月20日 13点11分
4
level 9
掉色的星星
不懂
2014年11月20日 14点11分
5
level 14
qqirisit
贴个代码
2014年11月21日 01点11分
6
韵芷依然御
万分感激 好像要的就是这个
2014年11月21日 05点11分
韵芷依然御
io.popen 是系统所有的么?
2014年11月21日 07点11分
qqirisit
回复 韵芷依然御 :看 lua 代码,win和linux都是支持的。
2014年11月21日 08点11分
韵芷依然御
回复 qqirisit :是否需要依赖库。直接这样写可以吗?
2014年11月21日 08点11分
level 12
0523vip
✄┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
楼主你好,我这人不太会说话,如果有什么得罪的地方,你特么来打我呀!
2015年11月05日 15点11分
7
同在二要
请勿挖坟
2015年11月17日 09点11分
李伟东250
sb
2016年02月19日 09点02分
level 11
协调意志_Tox
用socket库,然后就是http协议,
努力吧
2015年11月17日 11点11分
8
level 1
落叶有期
https://github.com/pintsized/lua-resty-http#request_uri
lua有库来发http请求
2016年03月25日 08点03分
9
1