I am creating an app that interacts with a REST api. I am new to implementing with external apis.
I have a couple simple questions:
Where would I setup the initial uri? My ideas are the Application Controller, or an initializer.
Next, I have an id and a token that I have include in all of the api calls. Where should that be set so that it can be called more later.
Finally, do I want the actual api calls in the controller or Model? My thought is to have an Event class that logs each time one of these calls is made so that I can track everything.
Just some general advice would be awesome.