-->
Page 1 of 1

HTTP Post request. Please help

PostPosted: Wed Mar 25, 2015 5:57 am
by sean_intez
I'm trying to post two variables to my server from my esp module. could someone please help me with a working example?

Re: HTTP Post request. Please help

PostPosted: Wed Mar 25, 2015 7:20 am
by villTech
you need to give more info if you want to be helped.

Re: HTTP Post request. Please help

PostPosted: Wed Mar 25, 2015 8:32 pm
by sean_intez
I have a PHP server the logs the data and saves them to the sql database.
at the moment I can log a new data to the server if I put this URL in my internet browser:
www.myserveraddress.com/db.php?val1=humidity&val2=temp

now I would like the esp8266 send these data every minute.
I tried to use espconn_sent() function but I don't know how to prepare the arguments for that function.