lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb in twilio-ruby-7.1.1 vs lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb in twilio-ruby-7.2.0
- old
+ new
@@ -62,11 +62,12 @@
##
# Fetch the ExecutionContextInstance
# @return [ExecutionContextInstance] Fetched ExecutionContextInstance
def fetch
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
- payload = @version.fetch('GET', @uri)
+ payload = @version.fetch('GET', @uri, headers: headers)
ExecutionContextInstance.new(
@version,
payload,
flow_sid: @solution[:flow_sid],
execution_sid: @solution[:execution_sid],