Routing API does not return the same intermediate points

Hi,

I set up an OSRM server and use it for the routing API however the result are not what I expect:

If I sent a set of 10 coordinates, I expect OSRM to return a set of X coordinates detailing the exact itinerary corresponding to the shortest path, this new set of X coordinates should include the 10 coordinates I passed as input, since the route must pass through these points.

Is it an expected behaviour that OSRM does not return the original points in output? This cause me problem since I cannot make a right join between the coordinates generated by OSRM and the one I already have.

Wouldn’t this be the expected result if the original points are not exactly on a road?

You’re right, thank you.