[openstreetmap/openstreetmap-website] PUT /api/0.6/gpx/:id causes HTTP 500 Internal Server Error (Issue #4821)
Tom Hughes
notifications at github.com
Tue May 21 15:59:55 UTC 2024
You can't PUT a GPX file like that - that endpoint is for updating metadata on an existing trace and it takes a an osm XML object not a gpx object.
If you want to upload a new trace you should POST to `/api/0.6/gpx/create` and there's no way to replace the trace data for an existing trace.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4821#issuecomment-2122952282
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4821/2122952282 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240521/08062ff8/attachment.htm>
More information about the rails-dev
mailing list