[OSM-dev] X_HTTP_METHOD_OVERRIDE

hy-soft hy-soft at sha-mash.de
Fri Dec 18 14:27:44 GMT 2009


Has anybody tried this workaround as descibed in the api page of the
wiki: http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.6
?

I can not get it to work, neither with curl
which hasn't implemented a delete Method, so I tried
X_HTTP_METHOD_OVERRIDE: DELETE

curl -v  -G -H "X_HTTP_METHOD_OVERRIDE: DELETE" -T DOSM0134.XML
"http://api.openstreetmap.org/api/0.6/node/595647268"

The object was updated but not deleted.
I've also tried it with another stack (INDY), but that didn't work out
as well.

Thanks in advance




More information about the dev mailing list