APIotaURLEncodedFormEndpoint

public protocol APIotaURLEncodedFormEndpoint : APIotaCodableEndpoint where Self.Body == Data

Defines an API endpoint for a Client whose body is an URL encoded form.

The definition must include a requestBodyQueryItems array.

  • A URLQueryItem array used for defining the httpBody of a initialized URLRequest generated by the receiver.

    Declaration

    Swift

    var requestBodyQueryItems: [URLQueryItem] { get }

Default method implementations