Hello, I’ve been trying to use cURL option in Insert from URL, and I don’t understand why I’m not getting any valid responses…
Here are the options/configurations that I used:
URL: “https://api.routexl.com/v2/tour/”
cURL options: “-u hyunmin85:password -X POST locations=[{“address”:“The Hague, The Netherlands”,“lat”:“52.05429”,“lng”:“4.248618”},{“address”:“The Hague, The Netherlands”,“lat”:“52.076892”,“lng”:“4.26975”},{“address”:“Uden, The Netherlands”,“lat”:“51.669946”,“lng”:“5.61852”},{“address”:“Sint-Oedenrode, The Netherlands”,“lat”:“51.589548”,“lng”:“5.432482”}]”
I’ve also tried the following options:
“-u hyunmin85:password -data ‘locations=[{“address”:“The Hague, The Netherlands”,“lat”:“52.05429”,“lng”:“4.248618”},{“address”:“The Hague, The Netherlands”,“lat”:“52.076892”,“lng”:“4.26975”},{“address”:“Uden, The Netherlands”,“lat”:“51.669946”,“lng”:“5.61852”},{“address”:“Sint-Oedenrode, The Netherlands”,“lat”:“51.589548”,“lng”:“5.432482”}]’”
“-u hyunmin85:password -X POST ‘locations=[{address:The Hague, The Netherlands,lat:52.05429,lng:4.248618},{address:The Hague, The Netherlands,lat:52.076892,lng:4.26975},{address:Uden, The Netherlands,lat:51.669946,lng:5.61852},{address:Sint-Oedenrode, The Netherlands,lat:51.589548,lng:5.432482}]’”
“-u hyunmin85:password -X POST locations=[{address:The Hague, The Netherlands,lat:52.05429,lng:4.248618},{address:The Hague, The Netherlands,lat:52.076892,lng:4.26975},{address:Uden, The Netherlands,lat:51.669946,lng:5.61852},{address:Sint-Oedenrode, The Netherlands,lat:51.589548,lng:5.432482}]”
“-u hyunmin85:password \ -d ‘locations=[{“address”:“The Hague, The Netherlands”,“lat”:“52.05429”,“lng”:“4.248618”},{“address”:“The Hague, The Netherlands”,“lat”:“52.076892”,“lng”:“4.26975”},{“address”:“Uden, The Netherlands”,“lat”:“51.669946”,“lng”:“5.61852”},{“address”:“Sint-Oedenrode, The Netherlands”,“lat”:“51.589548”,“lng”:“5.432482”}]’”
None of them seem to work… please help!!!