successfully can make an api call