From e2e279bc852cd024aef1ad445a81bad2884902cd Mon Sep 17 00:00:00 2001 From: Harry Wood Date: Fri, 30 Jun 2017 14:41:44 +0100 Subject: [PATCH] example curl command needs quotes We need to add quotes around the URL in the curl command (at least in the shell I'm using). Otherwise it truncates the URL at ';' --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index af56c0b6e..ec6a84816 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ osrm-routed berlin-latest.osrm Running Queries ``` -curl http://127.0.0.1:5000/route/v1/driving/13.388860,52.517037;13.385983,52.496891?steps=true +curl "http://127.0.0.1:5000/route/v1/driving/13.388860,52.517037;13.385983,52.496891?steps=true" ``` ### Request Against the Demo Server @@ -130,7 +130,7 @@ Read the [API usage policy](https://github.com/Project-OSRM/osrm-backend/wiki/Ap Simple query with instructions and alternatives on Berlin: ``` -curl https://router.project-osrm.org/route/v1/driving/13.388860,52.517037;13.385983,52.496891?steps=true&alternatives=true +curl "https://router.project-osrm.org/route/v1/driving/13.388860,52.517037;13.385983,52.496891?steps=true&alternatives=true" ``` ### Using the Node.js Bindings