Console apps works and able to get data from API