Created
May 17, 2018 19:14
-
-
Save pkulchenko/156dfbae6bb5e5bdfcaca054823459d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local https = require "ssl.https" | |
local ltn12 = require "ltn12" | |
local response = {} | |
local r, c, h, s = https.request { | |
url = "https://api.github.com/repos/akbooer/openLuup/contents?ref=master", | |
sink = ltn12.sink.table(response), | |
protocol = "tlsv1_2" | |
} | |
print (r,c,h,s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment