lib/twilio-ruby/rest/verify/v2/form.rb in twilio-ruby-7.1.1 vs lib/twilio-ruby/rest/verify/v2/form.rb in twilio-ruby-7.2.0

- old
+ new

@@ -58,11 +58,12 @@ ## # Fetch the FormInstance # @return [FormInstance] Fetched FormInstance 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) FormInstance.new( @version, payload, form_type: @solution[:form_type], )