Source code of end point

How can i know source code of api end point calling like that
“login?course_id=course-v1:MEC+T1003+2020_T1003&enrollment_action=enroll&email_opt_in=false”.
I didn’t find source code yet. Please…