A taxi-driver would like to drop off the passenger "at the doorstep". This requires the route to go the correct side of the street. To arrive at the destination on the correct side-of-street, specify the sideOfStreetHint parameter for the destination in the request.
sideOfStreetHint accepts latitude, longitude as input. The value expected to be used for this, normally, is the position of the PoI (Point of Interest) beside the road. The resulting route will try to take this hint into account and route you to the correct side of the street.
curl-X GET \'https://router.hereapi.com/v8/routes?origin=52.511985,13.240523&transportMode=car&destination=52.500541,13.363060;sideOfStreetHint=52.500541,13.363060&return=polyline,summary&apikey={YOUR_API_KEY}'