ArcGIS Server allows the user to apply edits in an editable layer.
Eg the sample layer at http://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/3/applyEdits will accept a JSON input response such as [{'attributes': {'distance':1234}}]
Assuming that I have a JSON object in Python, how can I send this object to ArcGIS Server? ie, what is the Python syntax for Apply Edits?
I presume it's something along the lines of urllib2.urlopen(<endpoint>, <JSON>)
but I can't figure out the exact syntax.