- change Adhoc API from POST to GETs
git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@2620 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
parent
9a7961e394
commit
b7064ec12a
@ -73,5 +73,18 @@ class UrlMappings {
|
|||||||
"/api/conference/session"(controller:"adhoc", parseRequest:true) {
|
"/api/conference/session"(controller:"adhoc", parseRequest:true) {
|
||||||
action = [GET:'enterConference', POST:'joinConference']
|
action = [GET:'enterConference', POST:'joinConference']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"/api/conference/create"(controller:"adhoc") {
|
||||||
|
action = [GET:'createConference']
|
||||||
|
}
|
||||||
|
|
||||||
|
"/api/conference/join"(controller:"adhoc") {
|
||||||
|
action = [GET:'joinConference']
|
||||||
|
}
|
||||||
|
|
||||||
|
"/api/conference/enter"(controller:"adhoc") {
|
||||||
|
action = [GET:'enterConference']
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -86,9 +86,9 @@ class AdhocController {
|
|||||||
|
|
||||||
String voiceConf
|
String voiceConf
|
||||||
if (request.format == 'xml') {
|
if (request.format == 'xml') {
|
||||||
voiceConf = params.conference.voiceBridge
|
voiceConf = params.conference.id
|
||||||
} else {
|
} else {
|
||||||
voiceConf = params.voiceBridge
|
voiceConf = params.id
|
||||||
}
|
}
|
||||||
|
|
||||||
log.debug "Got voiceBridge ${voiceConf}"
|
log.debug "Got voiceBridge ${voiceConf}"
|
||||||
|
Loading…
Reference in New Issue
Block a user