Swift Alamofire X-WWW-FORM-URLENCODED
let param:Parameters=[
"param":param]
let headers:HTTPHeaders=[
"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"]
Alamofire.request(url,method: .post,parameters: param,encoding: URLEncoding.httpBody, headers: headers).responseJSON{response in
....
}
Enthusiastic Echidna