Problems with distance calculation

If I set these coordinates to OSM Routing I get all data including distances. As per the link below:

If, on the other hand, I insert it on the site to obtain the corresponding json instead, the data is all zero, as in the link below.,13.787443;45.661534,13.771603

Am I doing something wrong?

I also tried to decrease the precision but I always get the same result.

You’ve mixed up lat and lon in your direct request.

This is what you want:,45.654233;13.771603,45.661534


Ah ok… :man_facepalming:

Thank you very much indeed