I'm writing an applescript that uses curl to get the contents of the api.goname.org webpage. But every time I ran the query:
Code:
"http://api.geonames.org/findNearbyWikipedia?lat=47&lng=9&username=XXX"
I get:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <geonames> <status message="Please add a username to each call in order for geonames to be able to identify the calling application and count the credits usage." value="10"/> </geonames>
I don't know if curl doesn't work with geonames because when I paste the url in safari, it works fine!
Any help will be appreciated!
Thanks