I would like to ask about the button and the url post method in iPhone application.
In my program, I want the user to click a button, and then a url will be called by POST method. For the url, it may need to redirect to somewhere (302 or 303) etc and final is 200.
I have complete the button and the success page, however, I don’t know how to use the objective-C library. I found lots of reference of this forum, but I don’t understand what the code means. Can anyone help me?
The following is a question which I believe related to the question.
Invoking a http post URL from iphone using .net web service
Thank you very much.
If you’re okay with blocking the thread you’re making the request on, this is just about as simple as it gets.
A few caveats: