Hi all,
I’m trying to hit a custom built service using network.request(). The request is sent to the server, however the body is blank by the time it gets there. Other than the empty body, the request is successful.
I can hit the service just fine via Postman using the same criteria below.
local headers = {} headers["Content-Type"] = "application/json" headers["Authorization"] = "abc123" headers["langCode"] = "en" local params = { headers = headers, timeout = 30, body = json.encode({ action = "checkForUpdates", dynamicBundleLastUpdatedTimestamp = 0, gameShortCode = "re.taketwo" }) } network.request("http://localhost/webhook", "POST", listener, params)
Any help would be appreciated.
Cheers.