by Jerry Kalkhof.
Here is an example curl call I use to login and get a token:
curl -k -X GET 'https://localhost/moodle/login/token.php?username=student&password=password!&service=moodle_mobile_app'
by Jerry Kalkhof.
Here is an example curl call I use to login and get a token:
curl -k -X GET 'https://localhost/moodle/login/token.php?username=student&password=password!&service=moodle_mobile_app'