Skip to content

Commit 0604925

Browse files
committed
fix second api url
1 parent 484cd2d commit 0604925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/js-http/ajax-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ In PHP ist der Zugriff auf die API ohne Problem möglich:
6262
<php caption="zugriff auf die wetter-at.tk API">
6363
header('Content-Type: application/json');
6464
...
65-
$url = "http://at-wetter.tk/api/v1/station/11150/t/$date/7";
65+
$url = "http://api.openweathermap.org/data/2.5/weather?&units=metric&q=London,uk&apikey=$key";
6666
$text=file_get_contents( $url );
6767
...
6868
</php>

0 commit comments

Comments
 (0)