title: what is the difference between GET and POST method in rest API IOS?
body: <p>i have use this code but i don't know why we use <strong>POST</strong> and why we use <strong>GET</strong> in rest API?</p>
  
  <pre><code>-(IBAction)ClickSignUP:(id)sender
       {
          NSString *urlLoc = @"YOUR URL";
  
  
          NSLog(@"%@",urlLoc);
  
          NSString * requestString = [NSString stringWithFormat:@"Name=%@&amp;Email=%@&amp;Password=%@&amp;MobileNumber=%@&amp;BloodGroup=%@&amp;DeviceID=%@&amp;City=%@&amp;DeviceType=I",txtName.text,txtEmail.text,txtPassword.text,txtMobileno.text,strBlood,strDeviceID,txtCity.text];
  
              NSData *postData = [requestString dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:YES];
              NSString *postLength = [NSString stringWithFormat:@"%lu",(unsigned long)[postData length]];
              request = [[NSMutableURLRequest alloc] init];
              [request setURL:[NSURL URLWithString:urlLoc]];
              [request setHTTPMethod:@"POST"];
              [request setValue:postLength forHTTPHeaderField:@"Content-Length"];
              [request setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"];
              [request setHTTPBody:postData];
              PostConnectionSignUp = [[NSURLConnection alloc] initWithRequest:request delegate:self];
  
          }
  </code></pre>
  
  <p>how we can integrate kingfisher image loading in swift 3.0</p>
  
  <pre><code>pod 'Kingfisher', '~&gt; 4.6.1.0'
    import Kingfisher    
  imgVUser.kf.setImage(with: URL(string: data.propertyImage), placeholder: UIImage.init(named: "placeholder"), options: [.transition(.fade(1))], progressBlock: nil, completionHandler: nil)
  </code></pre>
  
  <p>how we can integrate KRProgress Indicator in swift 3.0</p>
  
  <pre><code>pod 'KRProgressHUD', '~&gt; 3.1.1.0'
  
  DispatchQueue.main.async {          
                  KRProgressHUD.show()    
              }
  
  DispatchQueue.main.async {
                  KRProgressHUD.dismiss()
              }
  </code></pre>