Я использую такой код lua для отправки почтовых данных json:
local cURL = require("cURL")
local request = cURL.easy{
url = "http://myurl",
post = true,
httpheader = { "Content-Type: application/json"; },
postfields = jsonString,
timeout = 1
}
request:perform()
Как получить ответную строку json?