HI Guys, I am trying to use your API but I am getting a error: “The remote server returned an error: (404) Not Found.”. I’ve tried many different things and I my stock. Need your help.
NetworkCredential myNC = new NetworkCredential(“myuser”, “mypassword”);
using (WebClient routeXLAPI = new WebClient())
{
NameValueCollection myNVC = new NameValueCollection();
myNVC.Add("locations", json);
routeXLAPI.Credentials = myNC;
routeXLAPI.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
//************* WORKS *******************
// IF I DO THIS I'VE RECEIVED AN API ANSWER
// -- < p > Welcome to the RouteXL API.</ p >
// -- < p > Read the < a href = "https://www.routexl.nl/blog/api/" > API documentation </ a </ p >
//*** this code below Get a error: The remote server returned an error: (404) Not Found.
routeArray = routeXLAPI.UploadValues("https://api.routexl.nl/", "POST", myNVC);
}
If you need any further information please let me know.
Thank you