This repository has been archived by the owner on Apr 26, 2023. It is now read-only.
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.
Closed
Description
Based on this documentation, list of supported format in REST API includes f=lyr, f=nmf, f=kmz and so on, http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Output_formats/02r3000000wq000000/
When we do this, "http://services.arcgisonline.com/arcgis/rest/services/world_physical_map/mapserver?f=lyr", we actually get the actual lyr file as download file, but when we proxy it "http://localhost/proxy.ashx?http://services.arcgisonline.com/arcgis/rest/services/world_physical_map/mapserver?f=lyr", then we get "proxy.ashx" as download file