ESP8266 and data from openweathermap

Hey dudes and dudeletts,

I am having some trouble getting the Weatherdata from the openweathermap API.
When I use the browser everything works fine.

I connect to their website and try to get the data. All i get is a warning that i have an invalid API. But in the browser it works with the same API. Anybody had similar issues?

if (client.connect(servername, 80)) {
   Serial.println("connected");
   client.println("GET /data/2.5/weather?zip=46526,us&APPID=**********************");
   client.println("Host: api.openweathermap.org");
   client.println("Connection: close"); 
   client.println();
 }

thanks