Search code examples
iphonesslnsurl

NSURL Connection


I found this link How to use NSURLConnection to connect with SSL for an untrusted cert?

But being new to iPhone dev, I couldn't figure out where to put this code and make it run. What I want is, I've a certificate and with every request to server I need to present the certificate, as every request is unique. So will the above solution work for me too or how should I do it ??? Please help


Solution

  • I solved this by using ASIHttpRequest...

    http://allseeing-i.com/ASIHTTPRequest/Setup-instructions