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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:41:22+00:00 2026-05-27T05:41:22+00:00

I need to work with ASIHTTPRequest in my app but i’m an absolute beginner

  • 0

I need to work with ASIHTTPRequest in my app but i’m an absolute beginner in everything that concerns http, json, connections to server and stuff like that, so i decided to learn the basics first and i’ve got few really dumb questions for you. I have already googled looking for the answers, but all in vain

1)Does NSURLconnection have something to do with http protocol and http prequests? Is it useful for me to get acquainted with this class since i’m gonna work with http requests?

2)A huge problem of mine is that i do not have a web server yet to test my requests and i’ve been wondering if there is a free web server available for those who just want to upload/download data (images and may be something else) to/from it in order to learn basics of working with servers.

3)As far as i know development of ASIHTTPRequest library has been ceased. Does it mean that this library will become unavailable soon? Should i look for a different library? And btw is there a better one?

Thanks in advance

  • 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-27T05:41:23+00:00Added an answer on May 27, 2026 at 5:41 am

    1.you use NSURLConnection to create a request object from a NSUrl. Here is an example, I used it to load a url to a UIWebView :

    //Set the URL to go to for your UIWebView
    NSString *urlAddress = @"http://google.com/";
    //Create a URL object.
    NSURL *url = [NSURL URLWithString:urlAddress];
    //URL Requst Object
    NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
    //load the URL into the web view.
    [aWebView loadRequest:requestObj];
    

    You can read more about it here:http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSURLConnection_Class/Reference/Reference.html

    NOTE : also look at NSMutableURLRequest, which is a subclass of NSURLRequest

    2.To test, you can install apache on your computer and access it using http://localhost/.
    If you are using windows, download WAMP : http://www.wampserver.com/en/
    and if on mac, just search google how to install apache through terminal.

    3.I havent used ASIHTTPRequest in a long time but as far as I remember it was a good library . if it is being ceased, then that probably means they wont be publishing anymore updates and/or fix bugs, so yes I think its better to use an active project that is being updated constantly. I also havent found any warning on their site about it, so I doubt they are stopping the project.

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

Sidebar

Related Questions

i need to work with setTimeout function but that function does not work. First
I need to work with some old C++ code that was developed in Visual
That title may need some work. Perhaps after reading this, you may be able
I need to work on a project that was written in msvcpp6.0sp6 I DIDN'T
I need to work on SSRS and for that I would need BIDS. I
in my project I need to work with device drivers, but have a hard
I have the following variable that I need to work with, and have to
I need to work out a decryption/encryption algorithm, but I'm confused regarding SHA256 /
I need to work on android gingerbread sourcecode. I have linux (ubuntu) but no
I need to work with Excel 2007 File for reading the data. for that

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.