[openstreetmap/openstreetmap-website] Allow getting a GPX in the browser outside openstreetmap.org (Issue #5639)

Harel M notifications at github.com
Sun Feb 23 21:36:37 UTC 2025


HarelM left a comment (openstreetmap/openstreetmap-website#5639)

Thanks for looking into this!
I'm still getting the same error message as above though.
I'm testing this from the browser console when the site https://israelhiking.osm.org.il and I'm running the following fetch (using my OAuth2 header):
```js
fetch("https://api.openstreetmap.org/api/0.6/gpx/4192873/data", { method: "GET", headers: {Authorization: "Bearer my-token-reducted"}}).then(r => r.text()).then(console.log)
```

Let me know if I I'm missing anything...

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5639#issuecomment-2677129517
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/5639/2677129517 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250223/621ea3d9/attachment.htm>


More information about the rails-dev mailing list