GraphHopper.com | Forum | GitHub | Maps | Blog

Routing API with JSON?


#1

I just started a local graphhopper server and send a first request to it, using a generic Python request (and not the swigged Python interface to graphhopper):

url = 'localhost:8989/route/'
parameters = {'point': ['52.493735, 13.380969', '52.511567, 13.415567']}
requests.get(url, params=parameters)

It seems that the routing API only accepts query strings, right? Or is there a JSON interface to the routing API as well?


#2

JSON post is not yet supported