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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:47:08+00:00 2026-06-12T04:47:08+00:00

I am using an API to have users create an account within my app.

  • 0

I am using an API to have users create an account within my app.

Now I am able to generate the URL required in objective-C to submit the values and in the API documentation it has the return numbers that will confirm to me what has happened.

My question is how do I relay that information to the user of the app?
The return call is shown to me in a HTML page as plain text.

Any ideas?

Thanks in advance.

///////

2012-10-03 12:24:31.557 Multi Web[72631:15203] Dictionary list – {
Connection = “keep-alive”;
“Content-Encoding” = gzip;
“Content-Length” = 26;
“Content-Location” = “signup.php”;
“Content-Type” = “text/html”;
Date = “Tue, 02 Oct 2012 23:24:32 GMT”;
P3P = “policyref=\”/w3c/p3p.xml\”, CP=\”ALL CURa ADMa DEVa OUR IND UNI COM NAV INT STA PRE\””;
Server = “Apache/2.2.14 (Ubuntu)”;
Status = “200 OK”;
TCN = choice;
Vary = “negotiate,Accept-Encoding”;
“X-Limit-Key-Limit” = 10000;
“X-Limit-Key-Remaining” = 9992;
“X-Limit-Key-Reset” = 236;
“X-Limit-User-Limit” = 320;
“X-Limit-User-Remaining” = 319;
“X-Limit-User-Reset” = 3600;
“X-Powered-By” = “PHP/5.3.2-1ubuntu4.14”;

I got this in my console so I now, I have created the account succesfully.
In the middle it says Status = “200 OK”;

How do I use that particular line? If I can hook up a UIAlertView to that then i am where I want to be.

Cheers.

  • 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-06-12T04:47:10+00:00Added an answer on June 12, 2026 at 4:47 am

    I’m not sure if your situation is related to this question. According to docs from the getPocket API you are using, i see the following:

    enter image description here

    According to apple docs, the default HTTP method is GET. What you need to do is check the response headers from the API. So what you need to do is change your httpMethod to HEAD like so:

    NSMutableURLRequest *modReq = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"www.somesite.com/?something"]];
        [modReq setHTTPMethod:@"HEAD"];
    

    Then you can read the values from the header with something like so:

    NSURLResponse* response = // the response, from somewhere
    NSDictionary* headers = [(NSHTTPURLResponse *)response allHeaderFields];
    

    You can then get the response values, and tell the user whats up accordingly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working with a java Twitter app (using Twitter4J api). I have created
I create a Flickr account, create an app and got my API key, created
I have a program that creates a Windows user account using the NetUserAdd() API
I am using the Lync API within a WPF application. I have used the
I have created tabs by using jQuery API and have bound one event handler
i am using your api and i have made a success call to upload
I have been using an API to do some work. This is how I
I have a REST API using Django Tastypie. Given the following code The models
I am using google Api for custom search and have done the json Parsing.
I am using LinkedIn API. I have done all process to retrieve access token.

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.