mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-07 04:20:54 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.406.0
This commit is contained in:
@@ -170,16 +170,14 @@ module PlexRubySDK
|
||||
})
|
||||
base_url = server_url if !server_url.nil?
|
||||
url = "#{base_url}/users/signin"
|
||||
headers = {}
|
||||
headers = Utils.get_headers(request, @sdk_configuration.globals)
|
||||
req_content_type, data, form = Utils.serialize_request_body(request, :request_body, :form)
|
||||
headers['content-type'] = req_content_type
|
||||
query_params = Utils.get_query_params(::PlexRubySDK::Operations::PostUsersSignInDataRequest, request, @sdk_configuration.globals)
|
||||
headers['Accept'] = 'application/json'
|
||||
headers['user-agent'] = @sdk_configuration.user_agent
|
||||
|
||||
r = @sdk_configuration.client.post(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
if form
|
||||
req.body = Utils.encode_form(form)
|
||||
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
||||
|
||||
Reference in New Issue
Block a user