Hi Guys,
I'm using the esri request to retrieve layer Info from a map service. The call works fine and i'm able to retrieve the data, however now i want to check if url provided to make the request is valid or not. I've tried using the "timeOut" parameter but it only throws an error after 1 minute which i understand is the default setting. Any ideas?
Thanks, Ryan
I've tried the following code:
esriRequest({
"url": url,
"callbackParamName": "callback",
"content": { "f": "json" },
"handleAs": "json",
"timeOut": 5000
});