Hello Jibsan,

I made some changes in build config and now you can go to
https://builds.apache.org/view/M-R/view/OpenMeetings/job/openmeetings/lastBuild/consoleFull
and check request/response of existent Unit tests


On Sat, 27 Jun 2020 at 13:56, Daniel Baker <i...@collisiondetection.biz>
wrote:

> Try like this  :
>
>
> --form 'room= {
>     "name": "Three",
>     "comment": "Test number three",
> *    "type" :  "CONFERENCE",*
>     "capacity": "100",
>     "allowRecording": "true",
>     "externalId": "Three",
>     "isPublic": "true"
>   }'
> On 6/26/2020 5:01 PM, Jibsan Joel Rosa Toirac wrote:
>
> Sorry to keep asking, I made a query with CURL to create a new room but it
> doesn't work. It gives me an error. Here is what I did:
>
> curl --location --request POST '
> http://192.168.14.98:5080/dialogo/services/room/?sid=da8e90d4-f894-411e-aabd-424502b7c419'
> \
> --form 'room= {
>     "name": "Three",
>     "comment": "Test number three",
>     "type" : {
>     "type": "CONFERENCE";
>     }
>     "capacity": "100",
>     "allowRecording": "true",
>     "externalId": "Three",
>     "isPublic": "true"
>   }'
>
> And this is what the Terminal Throws me:
>
>   Warning: skip unknown form field: }
>     "capacity":"100",
>
> Warning: "allowRecording": "true",
>     "externalId": "Three",
>     "isPublic":
> Warning: "true"
>   }
>
> Any suggestions?
>
>

-- 
Best regards,
Maxim

Reply via email to