Is there a way to cancel all network request (the request started by another method) before I do a network request with AFNetworking I tried like below but not work:
Don't Create new AFHTTPClient instance.
AFHTTPClient
try "[self cancelAllHTTPOperationsWithMethod:@"POST" path:@"product/like"];
"[self cancelAllHTTPOperationsWithMethod:@"POST" path:@"product/like"];