title: Upload array of pdf files and Images upload to server by using Alamofire multipartFormData with extra parameters in ios swift
body: <p>Upload  array of pdf files and Images upload to the server by using  Alamofire multipart form data with extra parameters in ios swift</p>
  <p>post body :</p>
  <p>let discount = [&quot;widgetType&quot;:&quot;FELLOWSHIP_DISCOUNT&quot;,&quot;type&quot;:&quot;FELLOWSHIP&quot;,&quot;widgetId&quot;:1] as?  [String:Any] ?? [:]</p>
  <pre><code>    let parameters: [String: Any] =
          [
              &quot;files&quot;:[imagesData],
              &quot;discount&quot;: discount
      ]
      
  </code></pre>