I'm developing a desktop program that works with moodle api, and i want to use the username and the passwords entered on my program, to check if it is correct login on my moodle. I've done some research about "core_auth_confirm_user", in wich i understand that it confirms if username and password is correct, but whatever i send to it, it says "The confirmation of the data is not valid ". I am going to attach a screenshot of the postman test i've done.
"GET endpoint: myip/moodle/webservice/rest/server.php?wstoken=75bbaed48297ea47893be345785db1cf&wsfunction=core_auth_confirm_user&username=albertoteifer&secret=ProjectMM2021&moodlewsrestformat=json"
Thanks in advance for your time!