Closed jbelien closed 7 years ago
Related to #2 !
Just need to add Accept: application/json
in the request header.
Here the same problem. Not solved with Accept: application/json.
@mhosman Could you give more information about your issue ?
Adding Accept: application/json
in the request header fixes the problem.
Could you try the same request with cURL
?
@mhosman Are you sure the routerdb loaded properly? Can you post the console log output?
If I use the example http://localhost:5000/belgium, everything seems to work as expected : I can click 2 points in the map and the route is calculated between those 2 points.
But if I request the API (in my browser) by going to http://localhost:5000/belgium/routing?profile=car&loc=51.218927,2.905884&loc=49.676515,5.814514 I have an error 500 from Nancy.
When I make the same request with cURL it does work though ...
Any idea ? Thanks !