ArcGIS Server REST Service POST Query

ArcGIS Server REST Service POST Query

I am trying to use POST in the ArcGIS Server REST API to retrieve the records in JSON format by using PHP (Get ArcGIS REST).

Since some of the polygons are too large to use GET I have to use POST, ...