Hola a todos, estoy tratando de obtener una invitación HASH usando el API de OpenMeetings. Estuve leyendo wue los tres parametros del metodo son del tipo @QueryParam, aqui les dejo lo que la documentacion dice:
@POST @Path("/hash") public ServiceResult <https://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/basic/ServiceResult.html?is-external=true> hash(@QueryParam("sid") String <https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true> sid, @QueryParam("invite") InvitationDTO <https://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/room/InvitationDTO.html?is-external=true> invite, @QueryParam("sendmail") boolean sendmail) Method to get invitation hash with given parameters Parameters:sid - - The SID of the User. This SID must be marked as Loggedin invite - - parameters of the invitationsendmail - - flag to determine if email should be sent or notReturns:- serviceResult object with the result Aqui esta lo que yo hice: curl --location --request POST ' http://192.168.14.90:5080/openmeetings/services/room/?sid=1a17f6b4-0476-464e-a7be-3d1bb8006dac' \ --form 'invite= { "email": "u...@test.com", "firstname": "Jonh", "lastname" : "Prime", "message": "Conference with Optimus Prime", "subject": "tests", "roomId": "11", "passwordProtected": "false", "password": "QQQ!!!939393", "valid": "", "validForm": "2020-09-23 12:33:40", "validTo": "2020-09-25 12:33:40" }' \ --form 'sendmail=false' Creo que tengo que remover "--form", aunque ya lo intente y no funcionó. Estoy usando CURL para esto o Postman. Quisiera saber si pudieran ayudarme. Saludos, Jibsan