Closed MAntonio95 closed 6 months ago
Have you tried changing
String urlParameters = "user[0][username]=" + URLEncoder.encode("sistemasadmin", "UTF-8");
to
String urlParameters = "user[username]=" + URLEncoder.encode("sistemasadmin", "UTF-8");
No actions from a original author for about two years, Closing this one off as part of clean up.
Hello, could you help me with the following problem I am trying to connect the plugin using Java, I have this example https://github.com/moodlehq/sample-ws-clients/blob/master/JAVA-REST/RestJsonMoodleClient.java but not wok wtih auth_userkey
public static void main(String[] args) throws ProtocolException, IOException {
and I get this exception
{"exception":"invalid_parameter_exception","errorcode":"invalidparameter","message":"Valor de par\u00e1metro inv\u00e1lido detectado"}