[josm-dev] "Only method post is supported on this URI"

Shaun McDonald osm at shaunmcdonald.me.uk
Sun May 31 15:14:20 BST 2009


On 31 May 2009, at 14:04, Maarten Deen wrote:

> Russ Nelson wrote:
>> Maarten Deen writes:
>>> I spent some time adding and changing stuff in JOSM, but when  
>>> uploading I get
>>> the message "Only method post is supported on this URI".
>>> This happens to me with the josm-latest (and the version from  
>>> 21-05-2009).
>>>
>>> What is this error, what is going wrong?
>>
>> I don't know either, but deleting my 'preferences' file got uploading
>> to work again.
>
> Thanks, but that made it worse initially. It just spat out errors  
> trying to
> upload. But I did see what was wrong: the upload URL has changed from
> http://www.openstreetmap.com/api to http://api.openstreetmap.org/api  
> (notice the
> www->api and com->org).

Why have you been using www.openstreetmap.com? This has never been the  
default in JOSM, as far as I'm aware.

You need to be using either http://www.openstreetmap.org/api or http://api.openstreetmap.org/api 
  for it to work now that all other domains (including osm.org and  
openstreetmap.com) redirect to www.openstreetmap.org.

Maybe we need to add this to http://josm.openstreetmap.de/wiki/StartupPageSource 
  ?

Shaun

>
> I do remeber some talk about splitting the general www. URL, but I  
> failed to tie
> this to changing the URL in JOSM.
>
> FWIW for others who have the same problem.
>
> Regards,
> Maarten
>
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev





More information about the josm-dev mailing list