API Calling in objective C using AFNetworking

NSString *strURL = [NSString stringWithFormat:@"%@%@", WebServiceURL];             
AFHTTPSessionManager *manager = [[AFHTTPSessionManager alloc]initWithSessionConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];
manager.responseSerializer.acceptableContentTypes = [NSSet setWithObject:@"application/json"];

NSMutableDictionary *params = [[NSMutableDictionary alloc]init];
[params setValue:Viewforgotpwd.txtEmailid.text forKey:@"Email"];
  
[manager POST:strURL parameters:params progress:nil success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
                    
      NSMutableDictionary *dictResult = responseObject;
      NSLog(@"dictResult: %@", dictResult);
                    
   } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        NSLog(@"error: %@", error);
   }];