Last active
April 9, 2020 13:50
-
-
Save karussell/4b4ed86413b97d9fc6b5356f24b9b318 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -q https://raw.githubusercontent.com/graphhopper/directions-api-js-client/master/route-optimization-examples/vrp_lonlat_new.json -O vrp.json | |
JOB_ID=$(curl -X POST -H "Content-Type: application/json" "http://localhost:8080/optimize" --data @vrp.json | cut -d'"' -f4) | |
sleep 2 | |
curl -X GET "http://localhost:8080/solution/$JOB_ID" |
Author
karussell
commented
May 31, 2018
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment