Networking and REST for iOS sample code.