We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef5e006 + ffc37de commit 927531dCopy full SHA for 927531d
lib/cortex/connection.rb
@@ -20,6 +20,7 @@ def connection
20
conn.use Cortex::FaradayMiddleware
21
conn.request :oauth2, access_token.is_a?(OAuth2::AccessToken) ? access_token.token : access_token
22
conn.request :json
23
+ conn.request :url_encoded
24
conn.response :json, :content_type => /\bjson$/
25
conn.adapter Faraday.default_adapter
26
end
0 commit comments