Proper query of OSM APIs and 'polygons.openstreetmap.fr'

Same question was also posted here: