```
func uploadImage(image: UIImage, imageUrl: String, imageExtension: String , responseData: @escaping (_ response: UploaderModel)-> ()) {
        var status : UploaderModel?
        let token = UserDefaults.standard.string(forKey: PrefKeys.loginToken) ?? ""
        let authorization = ["Authorization" : "Bearer \(token)"]
        let imageURl = "http://68.183.152.132/api/v1/stuff/uploader"

        //Parameter HERE
        let  parameters = [
                    "garbageCollector": 0,
                    "stuff_uuid": "2b4b750a-f4a6-4d61-84ce-7c42b5c030ee",
                    "delete_file" : ""
            ] as [String : Any]

        //Header HERE
        let headers: HTTPHeaders
         headers = ["Content-type": "multipart/form-data",
                       "Content-Disposition" : "form-data"]

        guard let imgData = firstImage.image?.jpegData(compressionQuality: 0.7) else { return }

        AF.upload(multipartFormData: { multipartFormData in
            //Parameter for Upload files
            multipartFormData.append(imgData, withName: "file",fileName: imageUrl , mimeType: "image/\(imageExtension)")

            for (key, value) in parameters {
                multipartFormData.append(value.data(using: String.Encoding.utf8)!, withName: key)
            }

        }, usingThreshold:UInt64.init(),
           to: imageURl, //URL Here
            method: .post,
            headers: headers, //pass header dictionary here
            interceptor: { (result) in

                switch result {
                case .success(let upload, _, _):
                    upload.uploadProgress(closure: { (progress) in
                        print("Uploading")
                    })

                    upload.responseJSON { response in
                        print("the resopnse code is : \(response.response?.statusCode)")
                        print("the response is : \(response.description)")
                        let json = JSON(response.data)
                        if let msg = json["msg"].string {
                            status.msg = msg
                        }
                        if let stat = json["status"].int {
                            status.status = stat
                        }
                        responseData(status)
                    }
                    break
                case .failure(let encodingError):
                    print("the error is  : \(encodingError.localizedDescription)")
                    break
                }
                } )
    }

error : Cannot convert value of type '(_) -> ()' to expected argument type 'RequestInterceptor?'

```