I am a bit new to working with the OSM data and api. So I am following the Using curl to upload data example.
This is the command line I used (I substituted my user name and password): curl -u user:password -i -o output.txt -T node.txt http://api.openstreetmap.org/api/0.5/node/create This is what I got: HTTP/1.1 417 Expectation Failed Connection: close Content-Length: 0 Date: Mon, 18 Feb 2008 18:20:14 GMT Server: lighttpd/1.4.13 The contents of node.txt is: <?xml version="1.0" encoding="UTF-8"?> <osm version="0.5" generator="OSM API server"> <node lat="52.3732639" lon="4.6198278"> <tag k="name" v="House"/> <tag k="description" v="Test House to be deleted"/> <tag k="user" v="jdent"/> </node> </osm> As you may guess, after I created it I was planning on deleting it. But first, I need to successfully creat it. The problem is, I don't know how to interpret error 417. I searched the OSM site, but that wasn't much help. Would someone please tell me where I am going wrong? Thank you, Jason _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

