- 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:
Richard Alam 2009-09-25 17:16:18 +00:00
parent 9a7961e394
commit b7064ec12a
2 changed files with 15 additions and 2 deletions

View File

@ -73,5 +73,18 @@ class UrlMappings {
"/api/conference/session"(controller:"adhoc", parseRequest:true) {
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']
}
}
}

View File

@ -86,9 +86,9 @@ class AdhocController {
String voiceConf
if (request.format == 'xml') {
voiceConf = params.conference.voiceBridge
voiceConf = params.conference.id
} else {
voiceConf = params.voiceBridge
voiceConf = params.id
}
log.debug "Got voiceBridge ${voiceConf}"