ArcGIS API for JavaScript: Hosted/StreamsDownloadTest2 (FeatureServer)
Built using the ArcGIS API for JavaScript