its the second time u help me hahaha tks
so, the problem is that i was writing the logic right, but i wasnt returning the result of exibir function, then i got undefined, what makes total sense
so i returned the result and the app.get worked as i wanted to