Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix setConfigXML according to the new docs #19

Open
mconf-daileon opened this issue May 4, 2016 · 0 comments
Open

Fix setConfigXML according to the new docs #19

mconf-daileon opened this issue May 4, 2016 · 0 comments

Comments

@mconf-daileon
Copy link


Author Name: Leonardo Daronco (Leonardo Daronco)
Original Redmine Issue: 1638, http://dev.mconf.org/redmine/issues/1638
Original Date: 2015-05-27


The documentation for @setConfigXML@ was updated recently: http://docs.bigbluebutton.org/dev/api.html#setconfigxml

The API call works by passing the data in the body of the POST request, but as long as some other requirements are met (e.g. the content type header has to be the correct type). We should fix this API call in the gem to pass the data only in the body of the request, removing it from the URL.

Note: setting a different content-type also influences how the POST requests to the API call @create@ will behave. The content type being used right now (

opts = { 'Content-Type' => 'text/xml' }.merge @request_headers
) works for @create@ requests, so it should not be changed. It should be changed only for @setConfigXML@.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant