Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS error with Jump GBFS feed #7

Open
alulsh opened this issue Dec 22, 2019 · 1 comment
Open

CORS error with Jump GBFS feed #7

alulsh opened this issue Dec 22, 2019 · 1 comment

Comments

@alulsh
Copy link
Owner

alulsh commented Dec 22, 2019

The Jump free bike API endpoint migrated from https://dc.jumpmobility.com/opendata/free_bike_status.json to https://gbfs.uber.com/v1/dcb/free_bike_status.json as part of Uber's acquisition of Jump.

This new Uber endpoint does not allow cross-origin resource sharing (CORS). It returns a CORS error when used in client-side JavaScript.

The Uber API does have documentation on setting an origin URI in your approved application for CORS. It's not clear whether this applies only to the Uber Riders API or also to the Jump GBFS feed though. Access to the Uber API requires approval from Uber.

@alulsh
Copy link
Owner Author

alulsh commented Dec 27, 2021

The API endpoint for Lime/Jump is now https://data.lime.bike/api/partners/v1/gbfs/washington_dc/free_bike_status.json. The API endpoint is listed on DDOT's Dockless API page, but CORS is still blocked:

Screen Shot 2021-12-27 at 12 08 19 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant