I'm struggling with the Google Maps API and could use a little help. I'm trying to add a new feature to a map and I'm receiving a 400 Bad Request error.
I am using HTTP requests - I am not using any wrapper In the developers guide (http://code.google.com/apis/maps/ documentation/mapsdata/developers_guide_protocol.html#acls) it says to use http://maps.google.com/maps/feeds/features/userID/mapID/full as the URI however, when I do this I am unable to authenticate. Also in the guide it says to use the link ending with #post to post an entry. There is no link ending in #post for a specific map. However, there is an entry ending in #edit which is - http://maps.google.com/maps/feeds/maps/userID/full/mapID Of course, UserID and mapID are placeholders When I use the last URI to try and post I receive the 400 Bad request. The documentation seems inconsistent. The content of the post request is EXACTLY: <atom:entry xmlns='http://www.opengis.net/kml/2.2'xmlns:atom='http:// www.w3.org/2005/Atom'> <atom:title type='text'>Test 2</atom:title> <atom:content type='application/vnd.google-earth.kml+xml'> <Placemark><name>Test 2</name> <description>A Test</ description><Point><coordinates>-111.587341,40.746800,0.0</ coordinates></Point></Placemark> </atom:content> </atom:entry> How do I create a placemark with an HTTP Post request? -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
