HI, I'm getting into building an OSRM server and I set up a bike route on the demo server
http://map.project-osrm.org/?z=17¢er=44.501839%2C11.340401&loc=44.501839%2C11.341270&loc=44.501770%2C11.340219&loc=44.500255%2C11.338867&loc=44.500217%2C11.337966&loc=44.501143%2C11.335863&hl=en&alt=0&srv=1

but when I make a request from my app I get completely different results.
The green dotted polyline is the returned route from the api while the red polyline is the 5 coordinates I send with the request
'http://router.project-osrm.org/route/v1/bike/11.341211,44.501862;11.340225,44.501862;11.340225,44.501862;11.338931,44.500278;11.337891,44.500209;11.335789,44.501173?overview=false&geometries=geojson&steps=true&annotations=false'

so I tried making multiple requests sending just 2 waypoints per request and rebuilding the route but still is not the same result as from the demo server front end...

What are those differences due to? I need the API to return a route like the 1st picture from this set of coordinates when requesting a route. I'm getting the coordinates from the 'coordinates' parameter in routes/legs/steps/geometry/coordinates and building the poly line myself.. Am I getting the wrong set of coordinates??
Thank you from the help
HI, I'm getting into building an OSRM server and I set up a bike route on the demo server
http://map.project-osrm.org/?z=17¢er=44.501839%2C11.340401&loc=44.501839%2C11.341270&loc=44.501770%2C11.340219&loc=44.500255%2C11.338867&loc=44.500217%2C11.337966&loc=44.501143%2C11.335863&hl=en&alt=0&srv=1
but when I make a request from my app I get completely different results.
The green dotted polyline is the returned route from the api while the red polyline is the 5 coordinates I send with the request
'http://router.project-osrm.org/route/v1/bike/11.341211,44.501862;11.340225,44.501862;11.340225,44.501862;11.338931,44.500278;11.337891,44.500209;11.335789,44.501173?overview=false&geometries=geojson&steps=true&annotations=false'
so I tried making multiple requests sending just 2 waypoints per request and rebuilding the route but still is not the same result as from the demo server front end...
What are those differences due to? I need the API to return a route like the 1st picture from this set of coordinates when requesting a route. I'm getting the coordinates from the 'coordinates' parameter in routes/legs/steps/geometry/coordinates and building the poly line myself.. Am I getting the wrong set of coordinates??
Thank you from the help