Working-code - api returns info ok