|
@@ -46,7 +46,7 @@ end
|
|
|
function HandleUpdate(eventType, eventData)
|
|
function HandleUpdate(eventType, eventData)
|
|
|
-- Create HTTP request
|
|
-- Create HTTP request
|
|
|
if httpRequest == nil then
|
|
if httpRequest == nil then
|
|
|
- httpRequest = network:MakeHttpRequest("http://httpbin.org/ip", "GET")
|
|
|
|
|
|
|
+ httpRequest = network:MakeHttpRequest("http://httpbin.org/ip")
|
|
|
else
|
|
else
|
|
|
-- Initializing HTTP request
|
|
-- Initializing HTTP request
|
|
|
if httpRequest.state == HTTP_INITIALIZING then
|
|
if httpRequest.state == HTTP_INITIALIZING then
|