ArcGIS API for JavaScript: temporary_feature_layer (MapServer)
Built using the ArcGIS API for JavaScript