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 ';'
This commit is contained in:
parent
c914afdbf1
commit
e2e279bc85
@ -121,7 +121,7 @@ osrm-routed berlin-latest.osrm
|
|||||||
Running Queries
|
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
|
### 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:
|
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
|
### Using the Node.js Bindings
|
||||||
|
Loading…
Reference in New Issue
Block a user