I want to convert cURL command:
curl -F 'access=xxxx' \ -F 'message=Hello.' \ -F '[email protected]' \ https://example.com
to a NSURLRequest.
Can somebody please help me with this?
I want to convert cURL command:
curl -F 'access=xxxx' \ -F 'message=Hello.' \ -F '[email protected]' \ https://example.com
to a NSURLRequest.
Can somebody please help me with this?
Hi,
If you want to create a request with POST data, I suggest you to use ASIHTTPRequest: http://allseeing-i.com/ASIHTTPRequest
It is quite powerful and easy to use, you should take a look at the ASIFormDataRequest class (see the How To Use section).
I've never used it for SSL connections though, but I'm pretty sure it's possible.