The URL is wrong
https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/UserWebService.java#L134
you have to
$this->getRestUrl("user")
NOT
$this->getRestUrl("user") . "add"
UserDTO should be URLFormEncoded
the best way to g
Hello Maxim!
First problem, can't create OM user on API.
Logged in on API as primary (id=1) user. This rights:
Administrator,Rooms,SOAP, type is USER.
Login success, get SID-ok.
Sending /services/user/add(userDTO,confirmation=false);
This is unsuccess, check in logs: method not allowed 405.
REST API is covered with uni tests all passes (run with each build)
On Thu, 9 Apr 2020 at 05:22, Varga Balázs wrote:
>
> Hello Boys!
>
> I try REST API. Many function documentation is incorrect or I not
> understand... or use bad... or have difference API functions on OM
> versions, etc, please
Hello Boys!
I try REST API. Many function documentation is incorrect or I not
understand... or use bad... or have difference API functions on OM
versions, etc, please help me.
Use this source: https://github.com/openmeetings/openmeetings-moodle-plugin
Login via REST is ok, I use one dedicate