1. K

    Save and resend Alamofire request

    I am using Alamofire and I want to send a get request. If this fails, I want to retry it again after some other operations. I save the request in a variable: let myRequest = Alamofire.request("myurl", method: .get) and in another function: func retry(request:DataRequest) {...
  2. S

    How to fetch data from post method in Swift?

    I have lists of data to be presented in tableview. The API works for POST method. But I don't get the data fetched on the tableview but it gets printed on the console. Can't we fetch data from POST method in Swift? Please help me to solve this problem. import UIKit import Alamofire class...