### Problem
My site (and app) are uploading the recording to OSM by default to enrich OSM
with the data people are collecting.
I would like to avoid the need to go through my backend to fetch a GPX file
(private one).
Currently the api returns a 302 redirect, which can't be handled by the browser
since there's an authentication header needed in order to get the route (OAuth
2).
### Description
I would like to get the GPX trace in the browser outside openstreetmap.org
using the OSM api endpoint to allow seeing it, editing it if needed and share
it with other people outside the OSM website.
The API exists, but since there's a redirect there, it's impossible to fetch it
in the browser without going through a proxy...
### Screenshots

--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5639
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev