RMHttp v1.7.1 Release Notes

Release Date: 2020-10-20 // about 1 year ago

Previous changes from v1.6.1

  • var files = [RMFormDataFile]()let file = RMFormDataFile("picture", image.jpegData(compressionQuality: 1.0), "avatar.jpeg", "image/jpeg") files.append(file)let params = ["field1": arbitration.auction.id!, "description":"sample test"]let request = APIRequestBuilder().buildFormRequest(api: urlString, params: param, files: files)