ArcGIS Runtime SDK for iOS: AGSRequestOperation.h File Reference
ArcGIS Runtime SDK for iOS  100.11
AGSRequestOperation.h File Reference

Go to the source code of this file.

Enumerations

enum  AGSRequestHTTPMethod { AGSRequestHTTPMethodGet = 0 , AGSRequestHTTPMethodPostFormEncodeParameters = 1 , AGSRequestHTTPMethodPostJSON = 2 }
 

Enumeration Type Documentation

◆ AGSRequestHTTPMethod

The HTTP method being used by the network request.

Since
100.0
Enumerator
AGSRequestHTTPMethodGet 

The query parameters are sent as name/value pairs in the URL of a GET request.

AGSRequestHTTPMethodPostFormEncodeParameters 

The query parameters are form encoded and sent in the body of a POST request. This is the method used if the URL of a GET request gets too long.

AGSRequestHTTPMethodPostJSON 

The query parameters are serialized to JSON and sent in the body of a POST request with the content type of application/json.