how do you handle api calls? - Theo's Typesafe Cult