AnsweredAssumed Answered

Esri Request timeout parameter

Question asked by ryansmith52 on Jun 17, 2015
Latest reply on Jun 18, 2015 by ryansmith52

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:

"url": url,
"callbackParamName": "callback",
"content": { "f": "json" },
"handleAs": "json",
"timeOut": 5000