Skip to content

Commit ecbcfc1

Browse files
committed
Changed content type to allow for xml
1 parent bc89333 commit ecbcfc1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/bigbluebutton_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ def send_request(url, data=nil)
754754
response = http.get(url_parsed.request_uri, @request_headers)
755755
else
756756
puts "BigBlueButtonAPI: Sending as a POST request with data.size = #{data.size}" if @debug
757-
opts = { 'Content-Type' => 'application/x-www-form-urlencoded' }.merge @request_headers
757+
opts = { 'Content-Type' => 'application/xml' }.merge @request_headers
758758
response = http.post(url_parsed.request_uri, data, opts)
759759
end
760760
puts "BigBlueButtonAPI: URL response = #{response.body}" if @debug

0 commit comments

Comments
 (0)