Bad URL when requesting with NSURL
NSString *strURL = [loc_address stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; // requesting weather for this location … NSMutableURLRequest *req = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:[NSString stringWithFormat: @”http://www.google.com/ig/api?weather=%@”, strURL]] cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:5.0]; [req setHTTPMethod:@”POST”]; [req addValue:@”text/xml; charset=utf-8″ forHTTPHeaderField:@”Content-Type”];