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