Created
June 12, 2015 06:57
-
-
Save addingama/c4a646dbafb2dd0ac346 to your computer and use it in GitHub Desktop.
ESP8266 With Modified Header
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
-- format program untuk konek ke geeknesia.com | |
conn=net.createConnection(net.TCP, 0) | |
conn:connect(3000,'54.179.149.183') | |
conn:send("GET /api/data?attributes={\"motion\":\""..pinState.."\"}\r\n\r\n") | |
conn:send("api_key : "..API_KEY.."\r\n\r\n") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment