0

I am trying to fetch a url using UrlFetchApp.fetch method with followRedirect=true and trying to access the cookies set during the intermediate links as well. But I am getting the headers from the last redirection alone.

So, is there a way to access the headers of all the requests made as part of the redirection? Or is it possible to restrict the number of redirections during the fetch call?

pvncad
  • 167
  • 1
  • 8

0 Answers0