GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
timezoneJASON Returns error  XML
Forum Index -> General
Author Message
crewze



Joined: 26/09/2018 17:39:41
Messages: 1
Offline

If I go to a browser and enter:

http://api.geonames.org/timezoneJSON?formatted=true&lat=45.2263658&lng=-76.1952882&username=*****&style=full

I get a correct response.

From my Arduino I get this error:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /timezoneJSON was not found on this server.</p>
</body></html>

If I just use timezone (rater than timezoneJSON) it works fine.

Any ideas?

marc



Joined: 08/12/2005 07:39:47
Messages: 4412
Offline

which ip address are you accessing when getting the 404 error? Is the domain name correct?

Cheers

Marc

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team