Hi, I am trying to make a web call with the iPhone. I have done this before and it works fine but now I can't make it work. I am trying to use the following method call which the documentation says is availble in 2.0 and later:
- (void)addValue:(NSString *)value forHTTPHeaderField:(NSString *)field;
I am attempting to build for vers...
Ho all! I'm trying to' make a login with the iPhone into a https server.. I tried different solution, also asihttprequest and the solution works fine with http normal website, but with https the return data is the same of the login page...
I news to' make something different for https?
Thanks in advance
this is the code that I tried:
on...
I need to send large amounts of data (image files) by POST in a WebView, so I'm using NSMutableURLRequest with setHTTPBody:.
Problem: if the data size is more than about 3MB, the app suddenly starts eating up huge amounts of memory and gets dog slow with all the paging.
I've tried changing this:
[request setHTTPBody:[NSData dataWithBy...
Hi all,
I want to log on on the Exchange 2003 with form based authentication (FBA) via http-request (in objective-c).
Idea:
1)to connect with the code below and get 2 cookies from server.
2)to connect to server per WebDav with these cookies
There is the code for the first step.
But instead of cookies I get the html-code for login-wi...
hi guys, im currently parsing an xml file that is hosted on another PC via hosting a Apache http server which works fine. Now is it possible to code it in such a way that the iPhone deletes the xml file on that pc?
im currently using a NSMutableURLRequest and setting it to an NSData.
NSError * error;
NSURLResponse * response;
NSMuta...
Trying to set my out of office on with a new reply message on Exchange 2003....
Here's my code:
NSString *tempbaseurl = @"https://webmail.server.com/exchange/mailbox/";
NSURL *url = [NSURL URLWithString:tempbaseurl];
NSMutableURLRequest *req = [NSMutableURLRequest requestWithURL:url];
NSString *sMessage = @"I am currently out of the...
Here is my code it looks ok
But it crash when running
NSString *urlAddress = [NSString stringWithFormat:@"http://www....php"];
NSMutableURLRequest *request = [[[NSMutableURLRequest alloc] init] autorelease];
[request setURL:[NSURL URLWithString:urlAddress]];
[request setHTTPMethod:@"GET"];
NSData *returnData = [NSURLConnection sen...
Hello all,
When I try to send out a POST request to a specific site the string I try to send gets cut off. When I check the length of the string in Xcode it is about 55000 characters long. The amount of characters received on the site is about 4500.
This is my code:
-(IBAction)convert {
NSString *rosterText = [webView stringByEvaluat...
Hi all,
i would like to do a HTTP POST method to communicate with an ASPX page.
I will need to pass the value through form-variable.
how can i achieve it on objective-c?
...
Hello, I'm trying to send an HttpRequest from an iPhone app with some parameters. The form is like this:
foo.jsp
<form action="/foo" method="post">
<div>
<input type="hidden" name="id" value="1" />
<input type="hidden" name="vendidas" value="25" />
</div>
<div><input type="submit" value="Send!" /></div>
</form>
So in the iPho...