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 7400047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:08:36+00:00 2026-05-29T04:08:36+00:00

I need to inform my user about the result of the GET process whether

  • 0

I need to inform my user about the result of the GET process whether the data is sent to server or not. Can anyone give me an idea about how to do?

Note: In one of my User Interfaces there are some buttons, and when the user clicks them some data will be sent to server. How can i inform user about this request’s result? Thanks..

EDIT

-(IBAction)theAction:(id)sender{

    NSString *key1=[[NSUserDefaults standardUserDefaults] valueForKey:@"keyToKey"];
    NSString *userID=[[NSUserDefaults standardUserDefaults] valueForKey:@"userID"];
     NSLog(@"\nButton ID: %d-",[sender tag] );
    NSString *str1= [[@"http://" stringByAppendingString:serverF.text] stringByAppendingString:@"/request.php?"];
    NSString *str2= [[str1 stringByAppendingString:@"key="] stringByAppendingString:key1];
    NSString *str3= [[[[str2 stringByAppendingString:@"&userID="]stringByAppendingString:userID] stringByAppendingString:@"&button_tag="]stringByAppendingString:[ sender tag]];
    NSURL *theUrl=[NSURL URLWithString:str3];

  // What shall i do from here?, or is this way true???



}

What do i need from this point?

  • 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-29T04:08:37+00:00Added an answer on May 29, 2026 at 4:08 am

    At this code you will have at the GETresponse the result for the GET HTTP request:

        NSString *GETresponse=[NSString stringWithContentsOfURL:[NSURL URLWithString:str] encoding:NSUTF8StringEncoding error:nil];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For example: my app got few messages and I need to inform user about
I am using Uploadify to upload files. Problem is, I need to inform users
Need help getting Ember-Data working with Zend Rest. At first, I'm familiar with Zend
I will be developing a system that will involve a data acquisition server where
I work on a multi-tier application and I need to optimize a long-running process
How do I implement error handling elegantly? For example, my data access layer can
We have ongoing debates with our customer about informing the user about errors. The
I would like to know how i can detect when an application is about
I have a simple ASP.net page where users can edit information about themselves. When
I need to allow users edit and print client-related documents (invoices and another). User

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.