Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3282670
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:57:14+00:00 2026-05-17T19:57:14+00:00

i am developing one app which will login to vonage website and do some

  • 0
i am developing one app which will login to vonage website and do some functions like call froward etc . For that purpose first i am trying to login to vonage website  

i did these steps

1) Found the login url of vonage

https://secure.vonage.com/vonage-web/public/login.htm

2) used livehttpheader addon to capture outgoing post request data when i clicked sigin

the data i found is

username=myusername&password=mypassword&redirectingURL=%2Fwebaccount%2Fdashboard%2Fchoose.htm&frontDoorLogin=&goToSelection=callforwarding&loginsubmit=Sign+In

after i got my data i started coding in xcode , i dont know what is best way to do it but i searched for sometime then i tried like this

-(IBAction) buttonpressed { 

    NSURL *url = [NSURL URLWithString:@"https://secure.vonage.com/vonage-web/public/login.htm"];

    ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url];
    [request setValue:@"myuser" forKey:@"username"];
    [request setValue:@"mypass" forKey:@"password"];
    [request setValue:@"/webaccount/dashboard/choose.htm" forKey:@"redirectingURL"];
    [request setValue:@"" forKey:@"frontDoorLogin"];
    [request setValue:@"callforwarding" forKey:@"goToSelection"];
    [request setValue:@"Sign+In" forKey:@"loginsubmit"];
    [request setDelegate:self];
    [request startAsynchronous];



}

- (void)requestFinished:(ASIFormDataRequest *)request
{
    // Use when fetching text data
    NSString *responseString = [request responseString];

    UIAlertView *alert= [[UIAlertView alloc] initWithTitle:@"Hmm" message:@"http works" delegate:self cancelButtonTitle:@"okay" otherButtonTitles:nil];

    [alert show];
    [alert release];
    NSLog(@"Output = %@",responseString);

}

- (void)requestFailed:(ASIFormDataRequest *)request
{
    NSError *error = [request error];
    UIAlertView *alert= [[UIAlertView alloc] initWithTitle:@"fail" message:@"http fails" delegate:self cancelButtonTitle:@"okay" otherButtonTitles:nil];

    [alert show];
    [alert release];
}

but when i ran app in my simulator it crashed .

am i doing correct way in posting data ? and is there any other way to do this ?

can any one help me in this issue

i am using asihttprequest library

thanks in advance

regards

Edit : My blind mistake i types setvalue instead of setpostvalue ,this will solve this issue 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T19:57:15+00:00Added an answer on May 17, 2026 at 7:57 pm

    look at the section titled Sending a form POST with ASIFormDataRequest

    // using post value 
    [request setPostValue:@"myuser" forKey:@"first_name"];
    

    also I usually do my alerts with an autorelease, not sure if that is your problem but you might want to try that changes also

        UIAlertView *alert= [[[UIAlertView alloc] initWithTitle:@"Hmm" message:@"http works" 
             delegate:self cancelButtonTitle:@"okay" otherButtonTitles:nil] autorelease];
    
       [alert show];
    

    UIAlertView Delegate Code

    - (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:
                                                         (NSInteger)buttonIndex {
           // do your thing
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a QA web-app which will have some points to evaluated assigned to
I am developing an app which will show some information in a detailview which
I am developing one app which is based on the webservice and fetch the
I am developing one app , which is required to integrate Google checkout.I am
I'm developing a web app using a cakephp. I've one function in which I
I am developing one application. In that app I am getting the html content
I'm developing my first iPhone app. One day, I renamed some files including xib
I am developing native iPhone app. I have one requirement that, there are 5
i am developing a app which contains feature like default photo browser in iphone.
I am developing a app in which there is a button which will clear

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.