ArcGIS API for JavaScript: MapRequest/OP_Layers (MapServer)

Built using the ArcGIS API for JavaScript