Hi,
I am trying to login using the moodle api. I am using the following url to login
http://localhost:8888/moodle21/login/token.php?username=user&password=password&service=new
I have already created the user 'user', service 'new' with no required capability. I have also enabled web services in the plugins.
But I am still the same error
{"error":"Invalid token - token not found","stacktrace":null,"debuginfo":null,"reproductionlink":null}.
I am trying to find an answer for this question. Please help me to find the answer for this problem.