Basic sample-consuming rest api from ios