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