We want to do API calls from an integration application, which can do HTTPs calls only, to ArcGIS Enterprise REST APIs. We got the API calls working via x-www-form-urlencoded Body or form-data Body or via url parameters, but we prefer to post a JSON body to ArcGIS REST API. However we can't get a valid response when we enter JSON in the body of a request. Is is possible to post a JSON to ArcGIS REST APIs?
Request url: https://arcgis-acc.<org>.com/un_edit/rest/services/UtilityNetwork/un_edit/FeatureServer/910/query?token=<token>
Request method: POST
Request body: {"where": "1=1","outFields": "*","returnGeometry": true,"f": "json"}
Response HTML page of featureServer - 910 with errors: Unable to complete operation. Unable to perform query operation.