logo elektroda
logo elektroda
X
logo elektroda

ESP8266 - Bad request, Invalid Url - downloading data from page

Mbeat 1860 2
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 15929064
    Mbeat
    Level 21  
    Hello, at the outset I will post the programme code :

    Code: C / C++
    Log in, to see the code


    i would like to be able to connect to the page "www.wunderground.com/auto/raw/global/stations/12295.html" and retrieve data from it, for example "5:00 PM MSK September 13, 2016|72|N/A|N/A|43%|48|North at 9|30.09|Clear|-9999.0|05:58 AM (CEST)|06:46 PM (CEST)|11|55|81|N/A|N/A|N/A|Bialystok|Poland|05:06 PM (CEST)|01:33 AM (CEST)|UMMG| ".

    The problem is that I keep getting the message "Bad REQUEST" or "Invalid URL" Has anyone encountered this problem and is able to help me ? I have tried all kinds of ways with no results. Serial Monitor :

    Code: PHP
    Log in, to see the code
  • ADVERTISEMENT
  • Helpful post
    #2 15929072
    piotrva
    VIP Meritorious for electroda.pl
    Why not use the HTTPClient library?
  • #3 15929118
    Mbeat
    Level 21  
    It's all clear, I've rewritten the BasicHttpClient library and everything is running smoothly. Thank you very much for solving the problem.
ADVERTISEMENT