                     // print(response.result)   // result of response serialization
                     // print(response.result.value)
 
-                    if response.result.isSuccess {
+                    let status = response.response?.statusCode
+                    if status == 200 {
                         let jsonDic = response.result.value as! NSDictionary
                         let breinResult = BreinResult(dictResponse: jsonDic)
                         success(breinResult)


                    // http status
                    let status = response.response?.statusCode

                    // if response.result.isSuccess {
                    if status == 200 {
                        let jsonDic = response.result.value as! NSDictionary
                        // dump(jsonDic)

                    // print(response.result.value)
                    // dump(response)

                    let status = response.response?.statusCode
                    if status == 200 {
                        let jsonDic = response.result.value as! NSDictionary
                        let breinResult = BreinResult(dictResponse: jsonDic)
                        successBlock(breinResult)
