-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I have a simple code
local net = require "net"
local url = "https://api.site";
local client = net.Http(url);
client.headers["Content-Type"] = "application/json"
client.headers["Authorization"] = "Basic LKDFLSDFKJSDHFKLJSDFHLSDHLFKJSHDKLFJHSDLKFJH";
client:get("/v1/affiliate").after = function (self, response)
if not response then error(net.error) end
print(response.content)
end
waitall()
I can't provide the URL because authentication is used. But I get a truncated JSON
... "schedule_6":"10:00 14:00","sc
curl:
... "schedule_6":"10:00 14:00","schedule_7":null}]}]
That is, part hedule_7":null}]}] was lost.
Thank you
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels