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?