<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>Hello,<br><br>I am trying to upload a GPX file by using the API 0.6. I am using the server http://api06.dev.openstreetmap.org/ for testing purposes. I am sending the attached data to the server. The server response is 500  (internal server error) and no further informations. I suggest that something is wrong with the header data, the gpx file should be ok.<br><br>Regards<br><br>Michael<br><br>++++++++++++++++++++++++++++++++<br><br><br>POST /api/0.6/gpx/create HTTP/1.1<br>Authorization: Basic dXNlZm9ycHVibGljQGhvdG1haWwuZGU6eWFxMTJ3c3g=<br>Content-Type: multipart/form-data; boundary=----------------------------d10f7aa230e8<br>User-Agent: Free User Agent<br>Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2<br>Host: api06.dev.openstreetmap.org<br>Content-Length: 7865<br>Connection: Close<br><br>------------------------------d10f7aa230e8<br>Content-Disposition: form-data; name="file"; filename="test.gpx"<br>Content-Type: application/octet-stream<br><br><?xml version="1.0" encoding="utf-8"?><br><gpx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.topografix.com/GPX/1/1"><br>  <trk><br>    <name>test</name><br>    <trkseg><br>      <trkpt lat="52.5633193" lon="9.7764445"><br>        <ele>37.1480713</ele><br>        <time>2010-09-18T12:53:43.1924714+02:00</time><br>      </trkpt><br><br>.........<br><br>   </trkseg><br>  </trk><br></gpx><br>------------------------------d10f7aa230e8<br>Content-Disposition: form-data; name="description"<br><br>beschreibung<br>------------------------------d10f7aa230e8<br>Content-Disposition: form-data; name="tags"<br><br>merkmale<br>------------------------------d10f7aa230e8<br>Content-Disposition: form-data; name="visibility"<br><br>private<br>------------------------------d10f7aa230e8--                                     </body>
</html>