ParameterEncoding
public enum ParameterEncoding
                Parameter encoding types.
- 
                  
                  
Encodes parameters into a url-encoded string to be set as or appended to any existing URL query string or set as the HTTP body of the request.
Declaration
Swift
case urlEncodedForm - 
                  
                  
Encodes parameters using
JSONEncoderand sets the result as the HTTP body of the request.Declaration
Swift
case json 
        ParameterEncoding Enumeration Reference