• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSMutableURLRequest: How to change Request URI?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMutableURLRequest: How to change Request URI?


  • Subject: NSMutableURLRequest: How to change Request URI?
  • From: Lloyd Sargent <email@hidden>
  • Date: Mon, 5 Apr 2010 08:30:11 -0500

Writing an iPhone app to login to a site remotely that is running php. In order to log in to the website it appears I need to do the following:

POST /submit.php?do=submit HTTP/1.1\r\n

However, no matter what I do all I seem to be able to accomplish is:

POST / HTTP/1.1\r\n

It appears that the "/ HTTP/1.1\r\n" are added by NSMutableURLRequest. But I need it to be "/submit.php?do=submit HTTP/1.1\r\n". So how do I make these changes?

Cheers,

Lloyd_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSMutableURLRequest: How to change Request URI?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Using the #import directive
  • Next by Date: Problem with NSData
  • Previous by thread: RE: Any frameworks for Leopard's Spaces?
  • Next by thread: Re: NSMutableURLRequest: How to change Request URI?
  • Index(es):
    • Date
    • Thread