lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb in twilio-ruby-7.1.1 vs lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb in twilio-ruby-7.2.0
- old
+ new
@@ -64,11 +64,12 @@
##
# Fetch the StepContextInstance
# @return [StepContextInstance] Fetched StepContextInstance
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)
StepContextInstance.new(
@version,
payload,
flow_sid: @solution[:flow_sid],
engagement_sid: @solution[:engagement_sid],