I'm writing an application that shows content from the Wordpress Site, as well as enables reading through of comments in addition to posting comments. I'm handling signing in to depart a comment and posting a comment via XML-RPC. All that's working very well. However, this specific site doesn't allow anonymous leaving comments. So, I have to allow Signing up to have an account with the application.

Presently, I go ahead and take preferred "username" and "email" and submit via Publish the following:

ASIFormDataRequest *request = [[ASIFormDataRequest alloc] initWithURL:[NSURL URLWithString:@"http://www.lamebook.com/wp-signup.php"]];
[request setPostValue:@"example" forKey:@"user_name"];
[request setPostValue:@"example@test.com" forKey:@"user_test"];
[request setDelegate:self];
[request setDidFinishSelector:@selector(registerFinished:)];
[request setDidFailSelector:@selector(registerFailed:)];
[request startAsynchronous];

This works for the reason that it'll produce the account. However, my problem is the fact that during my registerFinished method:

- (void)registerFinished:(ASIFormDataRequest *)request {
    NSString *response = [[NSString alloc] initWithData:[request responseData] encoding:NSASCIIStringEncoding];

    NSLog(@"response %@", response);
}

The response is just the HTML from the registration page. The HTML consists of no details about the failure or success from the registration.

While using the webform the came back HTML has records if any error happened, for instance:

<p class="error">Username must be at least 4 characters</p>

However, I don't appear to obtain these components within the HTML I receive on the telephone. It is possible to proper method of doing registration on the telephone?