I'll tell you a case where I couldn't get moodle token when using api
http://localhost/login/token.php?service=moodle_mobile_app&username=admin&password=Moodle123#<?php
echo urlencode('Moodle123#');
?> If you use an input form like in HTML then you use the get method, then this is not needed because the system will automatically change the characters to urlencode. This happens only if you do it directly in your browser.
0 Comments