nsurlrequest
NSMutableURLRequest with multiple headers
I\'m trying to create a synchronous REST request to an API. The API uses HTTP Basic authentication, so in addition to sending an Accept: application/json header, I need to specify the Authorization he[详细]
2023-04-13 04:20 分类:问答Sending multipart POST from iOS and reading parameters in PHP $_POST?
I\'m trying to send a multi-line post from an iPhone/iPad to a php service, the problem is that for some reason, the POST Content-Type seems to be application/x-www-form-urlenconded, ( I found out thi[详细]
2023-04-12 16:51 分类:问答NSURL from File -> Editing text of data then turn back into URL = NULL
I have an html file that I want to dynamically edit before displaying to change some of the values. I get the file fine, then replace the text I want, still fine. But when I convert it back to a NSUR[详细]
2023-04-09 20:48 分类:问答NSURLRequest: EXC_BAD_ACCESS
I\'m building an application with loads content from an PHP file. I have 4 views with loads content from 4 different PHP files. For each view controller i\'m using the following code:[详细]
2023-04-08 09:19 分类:问答ASIHTTPRequest and NSURLRequest different result
I send request to some url with ASIHTTPRequest, and always get strange response with different HTML body. If i make same request from browser or from NSURLRequest class, i get correct response with co[详细]
2023-04-03 06:26 分类:问答NSURLRequest returning null data (but only sometimes)
I\'m trying to extract some data from a craigslist HTML page, but I seem to be running into a strange bug- every once in a while, the page I try to load with an NSURLRequest comes back as some strange[详细]
2023-04-02 15:20 分类:问答[NSMutableURLRequest released]: message sent to deallocated instance
My app is calling the rqst_run method below in didViewLoad method but I\'ve an error. Debugger reports the following error:[详细]
2023-04-02 10:58 分类:问答Passing an NSURLRequest/NSURL to another UIViewController results in (null)
I have two ViewControllers which both are UIWebViewDelegates and in one I have a UIWebview that basically lists a number links.[详细]
2023-04-02 08:47 分类:问答Errors autoreleasing objects just after their creation
I\'m starting to look into IOS Development and I have some doubts about releasing objects for which I did not store a reference.. I gave a look at th开发者_StackOverflowe question \"Release an object[详细]
2023-04-01 19:16 分类:问答Instructions in viewdidload not being taken care of
I am facing an annoying problem. I have an application who is basicly made of several methods: viewDidload, connection:didReceiveResponse, connection:didReceiveData...[详细]
2023-03-29 22:15 分类:问答