HTTP-Request against with a XML-Data
Posted: Mon Mar 09, 2015 10:02 am
Hallo,
I am a student at a technical collage at vienna, austria and I need for a school project the following function, but I don't know how I can do this. For my project I use an Arduino Mega 2560 with a ESP8266 Wifi-Modul. I can connect this to the Wifi-Network but I have no idea how I con do the other operations.
1. Step:
Every 10 minutes the Arduino have to contact my server with a HTTP-Request like this: http://www.example.com/weather.php?station=1
2. Step:
The Server gave out a XML File wich I would like to use to display the weather data from a Database on the TFT Display which I have connect with my Arduino too.
My problem:
The problem is how can I do this request and how I can work with the data wich I get from the XML? I have no problem with the server-side coding only with the code for the Arduino.
I hope someone of you have a solution for my problem and can help me that this works.
Best greetings,
Steven Mahr
I am a student at a technical collage at vienna, austria and I need for a school project the following function, but I don't know how I can do this. For my project I use an Arduino Mega 2560 with a ESP8266 Wifi-Modul. I can connect this to the Wifi-Network but I have no idea how I con do the other operations.
1. Step:
Every 10 minutes the Arduino have to contact my server with a HTTP-Request like this: http://www.example.com/weather.php?station=1
2. Step:
The Server gave out a XML File wich I would like to use to display the weather data from a Database on the TFT Display which I have connect with my Arduino too.
My problem:
The problem is how can I do this request and how I can work with the data wich I get from the XML? I have no problem with the server-side coding only with the code for the Arduino.
I hope someone of you have a solution for my problem and can help me that this works.
Best greetings,
Steven Mahr