local function POST(inUrl, inHeaders, inBody)
local returnVal = {}
local result = curl.easy{
url = inUrl,
httpheader = inHeaders,
post = true,
postfields = inBody,
--writefunction = io.stderr
writefunction = function()
table.insert(returnVal, io.stderr)
returnVal = str
end
}
result:perform()
任何帮助将不胜感激。 非常感谢。