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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:38:30+00:00 2026-06-08T22:38:30+00:00

I know that http GET can be limited by the browser but what if

  • 0

I know that http GET can be limited by the browser but what if you are using an iPhone? What is the limit if I do something like this?

 NSString *urlString = [NSString stringWithFormat:@"http://www.hdsjskdjas.com/urlPop.php?vID=%@&pop=%d&tId=%@",videoId,pushPull,[objectSaver openWithKey:@"userId"]];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString]];
NSURLConnection *connect = [[NSURLConnection alloc] initWithRequest:request delegate:self];

if(connect) {
  //success;
} else {
    //failure;
}

Using this method to send information to my server what would be the limit to the number of characters in the url?

I want to be able to send over 24,000 characters to my sever…

If this is unachievable what would another option be?

  • 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-08T22:38:32+00:00Added an answer on June 8, 2026 at 10:38 pm

    To send big chunks of data you should use POST instead of GET.
    Here is an example of how to use it:

    NSArray *keys = [NSArray arrayWithObjects:@"Content-Type", @"Accept", @"Authorization", nil]; 
    NSArray *objects = [NSArray arrayWithObjects:@"application/json", @"application/json", mytoken, nil];
    NSDictionary *headerFieldsDict = [NSDictionary dictionaryWithObjects:objects forKeys:keys];
    NSData *bodyData = [body dataUsingEncoding: NSUTF8StringEncoding];
    
    NSMutableURLRequest *theRequest = [[[NSMutableURLRequest alloc] init] autorelease];
    [theRequest setURL:[NSURL URLWithString:url]];
    [theRequest setHTTPMethod:@"POST"];
    [theRequest setTimeoutInterval:timeout];
    [theRequest setAllHTTPHeaderFields:headerFieldsDict];
    [theRequest setHTTPBody:bodyData]; 
    
    NSLog(@"userSendURL URL: %@ \n",url);
    
    self.conn = [[[NSURLConnection alloc] initWithRequest:theRequest delegate:self] autorelease];
    

    In this case body is a simple NSString object, but it can be anything that you can insert in a NSData object

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

Sidebar

Related Questions

I know that richtextboxes can detect links (like http://www.yahoo.com ) but is there a
I know that you can get the SQL of a given QuerySet using print
I know that soap can send XML over http, is there any way to
I want to develop a anonymous chat website like http://omgele.com . I know that
Does anyone know why I can't see an HTTP request that results in a
Does anyone know of a utility that can check whether a HTTP request/response is
So I know that I can retrieve the youtube thumbnail by going here: http://img.youtube.com/vi/BoVBdxftEF8/0.jpg
I know that CAS is of limited value , but I want to learn
You can give someone an url with get: http://myserver.com/?var=val But what to do with
I know this has been asked before in various forms, but I can't seem

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.