使用代码形式如下:
local ok, code, headers, status, body =hc:request {
url = url,
method = "POST",
body = postBody,
headers = {["Content-Type"] = "application/x-www-form-urlencoded" }
}
返回信息:
code ='read status line failed read status line failed timeout'
服务端http状态码为499,
我看前面有这个提问,但是回复我的我没有理解意思。
麻烦看下这个问题吧,谢谢!