You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: ikonor [Submitted to the original trac issue database at 2.29pm, Thursday, 19th December 2013]
It seems like yournavigation.org is still the only Routing API that is open (no API key) and has a simple, straightforward API. So it's ideal for testing and demo purposes.
It would be even simpler to use if there was no need for a proxy with !JavaScript-only clients. Adding [http://en.wikipedia.org/wiki/Cross-origin_resource_sharing CORS (Cross-origin resource sharing)] response headers to the php scripts would allow direct requests from !JavaScript (except older IEs):
My use case is a demo hosted on !GitHub gh-pages: \
[http://nrenner.github.io/leaflet-routing/ direct requests] - denied by Browser \
[http://nrenner.github.io/leaflet-routing/#http://norbertrenner.de/proxycors.php?url= remote proxy (temporary test)] - requests allowed to proxy on remote host because of CORS headers
The text was updated successfully, but these errors were encountered:
Author: ikonor [Added to the original trac issue at 11.39am, Thursday, 23rd January 2014]
Moved the demo to a [https://gist.github.com/nrenner/8566972 gist], updated links:[[BR]]
[http://bl.ocks.org/nrenner/raw/8566972/ direct requests] - denied by Browser[[BR]]
[http://bl.ocks.org/nrenner/raw/8566972/#http://norbertrenner.de/proxycors.php?url= remote proxy (temporary test)] - requests allowed to proxy on remote host because of CORS headers
Reporter: ikonor
[Submitted to the original trac issue database at 2.29pm, Thursday, 19th December 2013]
It seems like yournavigation.org is still the only Routing API that is open (no API key) and has a simple, straightforward API. So it's ideal for testing and demo purposes.
It would be even simpler to use if there was no need for a proxy with !JavaScript-only clients. Adding [http://en.wikipedia.org/wiki/Cross-origin_resource_sharing CORS (Cross-origin resource sharing)] response headers to the php scripts would allow direct requests from !JavaScript (except older IEs):
My use case is a demo hosted on !GitHub gh-pages: \
[http://nrenner.github.io/leaflet-routing/ direct requests] - denied by Browser \
[http://nrenner.github.io/leaflet-routing/#http://norbertrenner.de/proxycors.php?url= remote proxy (temporary test)] - requests allowed to proxy on remote host because of CORS headers
The text was updated successfully, but these errors were encountered: