Skip to content

Instantly share code, notes, and snippets.

@phpmaps
Created March 26, 2013 21:41
Show Gist options
  • Save phpmaps/5249567 to your computer and use it in GitHub Desktop.
Save phpmaps/5249567 to your computer and use it in GitHub Desktop.
Esri request
dojo.byId("url").value ="http://earthquake.usgs.gov/earthquakes/catalogs/eqs1day-M1.txt";
var requestHandle = esri.request({
url: url.path,
content: url.query,
handleAs: "text",
load: requestSucceeded,
error: requestFailed
},{useProxy:true});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment