simple CFHTTP API question
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