I don\'t understand why I recive an output from endpoints function, whereas I am expecting something else. I wrote a pseudo code, could someone explain the mechanism?
<