weahter seoul

Dependencies:   Adafruit_GFX WIZnetInterface mbed

Fork of Weather_Forecast_Helloworld_WIZwiki-W7500 by IOP

Files at this revision

API Documentation at this revision

Comitter:
lovetang72
Date:
Thu Dec 10 06:30:14 2015 +0000
Parent:
4:2b4f4db50f5b
Commit message:
weather seoul

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 2b4f4db50f5b -r b63ed9e85c81 main.cpp
--- a/main.cpp	Thu Dec 10 06:27:45 2015 +0000
+++ b/main.cpp	Thu Dec 10 06:30:14 2015 +0000
@@ -140,7 +140,7 @@
    /*  
     *    GET method, to request weather forecast  
     */
-    char http_cmd[] = "GET /data/2.5/weather?q=weather?q=Seryui-dong,Kr&appid=2de143494c0b295cca9337e1e96b00e0 HTTP/1.0\n\n";
+    char http_cmd[] = "GET /data/2.5/weather?q=weather?q=Seoul,Kr&appid=2de143494c0b295cca9337e1e96b00e0 HTTP/1.0\n\n";
     //char http_cmd[] = "GET /data/2.5/weather?q=London,uk HTTP/1.0\n\n";
     //char http_cmd[] = "GET /data/2.5/weather?q=Berlin,de HTTP/1.0\n\n";
     sock.send_all(http_cmd, sizeof(http_cmd)-1);