Where to put API requests