Skip to content

Instantly share code, notes, and snippets.

@zkessin
Created May 2, 2020 19:01
Show Gist options
  • Save zkessin/4c95c560a59a0afaeb427e228e6f3cab to your computer and use it in GitHub Desktop.
Save zkessin/4c95c560a59a0afaeb427e228e6f3cab to your computer and use it in GitHub Desktop.
local http = require("socket.http")
function upload()
http.request("http://192.168.0.104:8080/xplane/pilot?23")
end
-- once per second
do_often("upload()")
upload()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment