Skip to content

Commit 91dc495

Browse files
authored
Merge pull request #40 from farhatahmad/preup
Fixed issue preventing documents from being preuploaded using the create call
2 parents bc89333 + ecbcfc1 commit 91dc495

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)