• 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
simple CFHTTP API question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

simple CFHTTP API question


  • Subject: simple CFHTTP API question
  • From: augusto callejas <email@hidden>
  • Date: Fri, 7 Aug 2009 15:46:51 -0700

hi-

i want to make a GET request at "http://localhost/?q=1";.
is this the proper approach?

	CFStringRef url = CFSTR("http://localhost/?q=1";);
	CFURLRef myURL = CFURLCreateWithString(kCFAllocatorDefault, url, NULL);

or do i need to encode the "q=1" portion into the body of the request?

thanks,
augusto.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: simple CFHTTP API question
      • From: Jens Alfke <email@hidden>
    • Re: simple CFHTTP API question
      • From: Mark Pauley <email@hidden>
  • Prev by Date: Re: NDRV sockets and IP packets
  • Next by Date: Re: simple CFHTTP API question
  • Previous by thread: Re: NDRV sockets and IP packets
  • Next by thread: Re: simple CFHTTP API question
  • Index(es):
    • Date
    • Thread