Lua-cURLv3
Lua-cURLv3 copied to clipboard
Lua binding to libcurl
Examples ``` Lua c:setopt_postfields{key1='value1', key2='value2'} form:add{... headers = {h1='v1'}} ```
I browsed the official document,but i can't found any info about postjson. I try this way,but no effect, ```lua local post_data = { sn = sn } local headers =...
Using luarocks to install lua-curl successfully on windows11. Then i put lcurl.dll and cURL.lua file into my script's directory. ``` ├── cURL │ ├── impl │ │ └── cURL.lua │ ...
patch 1 silent two compilation warnings. patch 2 fixes link errors when compiling based on luajit. patch 3 converts part of dos file format to unix style.
Getting an error on MacOS Ventura 13.2.1 with an ARM mac. I'm using Lua version 5.4.4 and luarocks 3.9.2 ```sh % luarocks install luacurl Installing https://luarocks.org/luacurl-1.2.1-1.src.rock luacurl 1.2.1-1 depends on...
Lua code: ``` local cURL = require "cURL.safe" local a = cURL.easy { url = 'https://www.google.com/', --timeout = 60, writefunction = function (a) print('hello') end } print(a:perform()) a:close() ``` Output:...
I can find the lcurl.dll, but it seems not work. D:\x86orx64\Lua\5.4.2\lua54.exe: error loading module 'lcurl' from file 'D:\x86orx64\Lua\5.4.2\shared\lib\lua\5.4\lcurl.dll': 找不到指定的模块。 stack traceback: [C]: in ? [C]: in function 'require' .\test.lua:1: in...
Hello, everyone. I'm planning to implement this lib in my project. I'm designing a CMS with Lapis, and I want to do GETs and POSTs to dropbox. I need to...
Building with MSVC, I got this warning. > lceasy.c(203) : warning C4716: 'lcurl_easy_cleanup_storage': must return a value I fixed it with a `return 0;`, but it can also be fixed...