At least 2 points have to be specified, but was:1

I download the graphhopper code source in the github and start it with ./graphhopper.sh web beijing-china.osm.pbf command. But when i run http://192.168.1.5:8989/route?point=39.9758%2C116.3373&point=39.9778%2C116.3213, some error occurs.

The service console shows that

I do input two points in the command, why the error appears?

I think it may caused by the wrong comand , when i run curl “http://192.168.1.5:8989/route?point=39.9758%2C116.3373&point=39.9778%2C116.3213”, it returns me a correct result.

1 Like