GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Newbie question  XML
Forum Index -> General
Author Message
hiflyerint



Joined: 26/06/2012 01:58:37
Messages: 2
Offline

When I search from the home page here for "New Troy" I get several responses, however' when I use the web api with

http://api.geonames.org/searchJSON?q=new troy&maxRows=15&username=xxxx.xxx

I get no responses. Am I doing something wrong?

Thanks
stewart



Joined: 22/05/2012 11:27:45
Messages: 12
Offline

hi

The address you supplied worked fine for me and returned 61 items (with a changed username of course) so the answer would seem to be No, you are not doing anything wrongly.
marc



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

Did you properly url encode the search term? The blank might cause troubles if done wrongly:
http://forum.geonames.org/gforum/posts/list/8.page

Marc

[WWW]
hiflyerint



Joined: 26/06/2012 01:58:37
Messages: 2
Offline

Thanks Marc, you were right.
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team