What is the proper syntax for building a url with "https://api.routexl.nl/tour/"?

Would someone please provide an example of a full url for the Post Tour.

I know the url and I can build a json address array, but what text connects them?

For example:

https://api.routexl.nl/tour < what goes here in the url? > locations = [{“address”, “Home”, “lat”: “52.05429”, “lng”: “4.248618”}, {“address”: “Work 1243”, “lat”: “52.076892”, “lng” “4.26975”}, {“address”: “work 1244”, “lat”: “51.669946”, “lng”: “5.61852”}, {“address”: “work 1245”, “lat”: “51.589548” “lng”: “5.432482”}]

Thanks!

The URL is correct, but you need to POST and set the content-type to application/x-www-form-urlencoded.

Check the example at:
https://www.routexl.nl/blog/api/#post-tour

There is an PHP example using CURL at:
https://github.com/routexl/RouteXL-API-Connector/blob/master/routexl-api.class.php

Thank you.  I got it to work with the following:

httpspost://username:password@api.routexl.nl/tour?locations=[{“address”:“Start”,“lat”:“40.4326360”,“lng”:"-80.0485650"},{“address”:“42 Walnut”,“lat”:“40.4332270”,“lng”:"-80.0613190"},{“address”:“310 Mansfield”,“lat”:“40.4225558”,“lng”:"-80.0469228"},{“address”:“1499 Daleland”,“lat”:“40.4150650”,“lng”:"-80.0418260"},{“address”:“1317 Justine”,“lat”:“40.4481410”,“lng”:"-80.0586067"},{“address”:“2418 Durbin”,“lat”:“40.4258640”,“lng”:"-80.0675620"},{“address”:“58 Elmdale”,“lat”:“40.4282690”,“lng”:"-80.0462370"},{“address”:“1457 Harris”,“lat”:“40.4331570”,“lng”:"-80.0565210"},{“address”:“80 Diebold”,“lat”:“40.4776044”,“lng”:"-80.1080162"},{“address”:“End”,“lat”:“40.4326360”,“lng”:"-80.0485650"}]