Hi,
I just wondering how I easily can send a http command from my ESP8266. In my case I want to send a push using prowl
The http url is:
http://api.prowlapp.com/publicapi/add?apikey=<APIKEY>&application=<XXX>&description=Message&priority=0
Hi Peter,
I hope you are doing well. I’m sorry for taking so long to answer, but I was on holidays and it was very hard to have a stable internet connection to answer emails/questions.
Go to File > Examples > ESP8266WiFi > WiFiClient
Then, in that sketch you have to add your SSID and PASSWORD.
The host that you’re going to connect to:
const char* host = “api.prowlapp.com”;
Finally, you need to go to the comment that says ” // We now create a URL for the request” and with the URL variable you need to start adding the parameters and URL that are specific for your request.
I hope this helps and thank you for your patience. Please let me know if you need further help.
Rui