For example, I want to sent information like credit card number, password etc so what's the best way to do the same?
            Asked
            
        
        
            Active
            
        
            Viewed 525 times
        
    3 Answers
1
            Send with SSL encryption. Have a look at How to use NSURLConnection to connect with SSL for an untrusted cert? for some code
 
    
    
        Community
        
- 1
- 1
 
    
    
        Nick Weaver
        
- 47,228
- 12
- 98
- 108
0
            
            
        If you are posting to a web service, make sure you are using a HTTPS connection when you are calling to:
NSMutableURLRequest *urlRequest=[NSMutableURLRequest requestWithURL:url];
[ NSURLConnection sendSynchronousRequest: urlRequest returningResponse: nil error: &error ];
 
    
    
        reflog
        
- 7,587
- 1
- 42
- 47
 
    