I have created a geohash graph for NYC Cabs data, now the next step is to plot it within a map, for that i choosed to use Leaflet as a javascript mapping library.
my problem is getting data from Neo4j database to JavaScript code.
i found in stackoverflow that you have answered a smilar question by using ajax :
however this solution doesn't work for me since i get "unauthorized" in console when i run it.
i understand that i need to pass authentification in the url, so how to do that ?
Thanks @michael.hunger for you reply ,that helped me to find the solution:
the magic of authentification need to be passed in header with ajax function beforeSend :