[
https://issues.apache.org/jira/browse/OPENMEETINGS-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16895782#comment-16895782
]
perception edited comment on OPENMEETINGS-2096 at 7/30/19 4:56 AM:
-------------------------------------------------------------------
We have tried above link example but below code i have tried using calling php
curl as well as also tried below code in postman api integration software, but
not working
To generate room hash below code is mentioned in above link, I have tried this
code but not working. Not getting hash key after api request. Can you help me
to run below code in my php curl calling. Here I have passed sid which is hash
key generating after admin login using postman api request and passed over here
in this link to generate room hash key.
Please help me to create room hash key, so I can append this room hash key in
below url to access room id 101.
http://localhost:5080/openmeetings/hash?secure=fa1f9381-bd03-42ae-9fd9-332b5f775a1b&language=1
$.ajax({ method: "POST", url:
"services/user/hash?sid=78189aff-d68d-458a-8840-5b18d15a50b0", data: {user:
JSON.stringify({ firstname: 'admin', lastname: 'admin',
externalId: '101', externalType: 'myCMS', login: 'admin' }),
options: JSON.stringify({ roomId: 101, moderator: true,
showAudioVideoTest: true })
}, dataType: "json"})
was (Author: perception):
We have tried above link example but below code i have tried using calling php
curl as well as also tried below code in postman api integration software, but
not working
To generate room hash below code is mentioned in above link, I have tried this
code but not working. Not getting hash key after api request. Can you help me
to run below code in my php curl calling. Here I have passed sid which is hash
key generating after admin login using postman api request and passed over here
in this link to generate room hash key.
Please help me to create room hash key, so I can append this room hash key in
below url to access room id 101.
http://localhost:5080/openmeetings/hash?secure=fa1f9381-bd03-42ae-9fd9-332b5f775a1b&language=1
$.ajax({ method: "POST", url:
"services/user/hash?sid=78189aff-d68d-458a-8840-5b18d15a50b0", data: {user:
JSON.stringify({ firstname: 'admin', lastname: 'admin',
externalId: '101', externalType: 'myCMS', login: 'admin' }),
options: JSON.stringify({ roomId: 101, moderator: true,
showAudioVideoTest: true })
}, dataType: "json"})
> Support for generating room hash key
> ------------------------------------
>
> Key: OPENMEETINGS-2096
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2096
> Project: Openmeetings
> Issue Type: Bug
> Affects Versions: 4.0.9
> Environment: ubuntu, using openmeetings 4.0.9 version
> Reporter: perception
> Assignee: Maxim Solodovnik
> Priority: Major
> Attachments: postman1.png, postman2.png
>
>
> Hello Sir,
>
> We have followed below tutorial to generate room hash key
>
> [https://openmeetings.apache.org/RestAPISample.html#_toc_how_to_get_room_hash_via_rest]
>
> First we have generate authorised SID{color:#495057} using below code{color}
> $.ajax({ method: "GET", url: "services/user/login", data: {user: 'admin',
> pass: '12345'}, dataType: "json"});
> Now i need to generate room hash key using below code.
> $.ajax({ method: "POST", url:
> "services/user/hash?sid=78189aff-d68d-458a-8840-5b18d15a50b0", data: {user:
> JSON.stringify({ firstname: 'John', lastname: 'Doe',
> externalId: 'uid1', externalType: 'myCMS', login: 'superjohn'
> }), options: JSON.stringify({ roomId: 5, moderator: true,
> showAudioVideoTest: true })
> }, dataType: "json"})
> we have tried these steps in postman tool. Refer below my 2 screenshots. In
> postman1.png, we have generated admin hash key by adding admin credentials,
> Now i am going to create room hash key in postman2.png screenshot, but i
> can't generate it. Please help me in 2nd screenshot about to generate room
> hash key using postman. Please help me for generating room hash key using
> postman.
> Thanks
> Shakil
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)