let url = "http://www.baidu.com"
let params = ["lat": 39.26,"lon": 41.03,"cnt":0]
let arr = ["","",""]
var type="text/plain"
var sets=NSSet()
var manager = AFHTTPRequestOperationManager()
manager.responseSerializer.acceptableContentTypes = sets.setByAddingObject(type)
manager.requestSerializer = AFHTTPRequestSerializer()
manager.responseSerializer = AFJSONResponseSerializer()
manager.POST(url,parameters: params,success: { (operation:AFHTTPRequestOperation!,responSEObject: AnyObject!) in
println("JSON: " + responSEObject.description!)
},
failure: { (operation: AFHTTPRequestOperation!,error: NSError!) in
println("Error: " + error.localizedDescription)
})