I\'m trying to make a GET request with Alamofire in Swift. I need to set the following headers:
Content-Type: application/json Accept: application/json
Alamofire.request(url, method: .post, parameters:parameters, encoding: JSONEncoding.default).responseJSON { response in ... }
it's work