Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rrpalma

macrumors member
Original poster
Hello,

Total noob here to iphone programming, but not to Objective-C.

Does the iPhone SDK provide for a set of classes / APIs to access remote web services? Or do simple HTTP POSTs and GETs?

Thanks for your comments!
 
Isn't that how most web services are done?

Thanks for reading. You're right I guess. But although all web services involve a POST (or a GET) not all GETs or POSTs are for web services. So perhaps I should rephrase my question to a more specific:

Does the iphone SDK provide an API for SOAP based web services, or at the very least, for doing basic POSTs and GETs?
 
Can't NSURLConnection pretty much do any thing that a RESTful interface would allow?

Yes, but you have to do a lot of work yourself. If Apple chose to provide a set of classes for this sort of thing you can imagine it would be a few lines of code only.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.