-->
Page 1 of 1

lua laungage >> http client request

PostPosted: Fri Feb 19, 2016 2:55 pm
by kamal sonani
what is method for get return value

from this link >> https://api.thingspeak.com/apps/thinghttp/send_request?api_key=UJDDO05P40P5XB7I

when i click on web it gives 5,489 or any other value.
but how to store this value in some variable? and how to get it

ip address for this link is given below.
host:- api.thingspeak.com
get:- /apps/thinghttp/send_request?api_key=UJDDO05P40P5XB7I
conn:connect(80,'184.106.153.149')

can anyone give me sample ?
i try with get "google time.lua" but i didn't get well reasult.. :cry: :cry: :cry:
please help me

Re: lua laungage >> http client request

PostPosted: Thu Feb 25, 2016 5:45 am
by naresh
google time.lua which is on the sample, works for me.

Please make sure the module is connected to an Access point which is internet enabled.

If Yes, then the script should yield you positive result.

Good Luck :-)