Unanswered question

Is it possible to implicitly follow redirects?

I have a script that fetches an uri randomly from a page with a list of uri's and requests the uri after it.
When I recorded the script, the request redirected to another resource which returned the desired content.

Unfortunately some uri's redirect more than once and some other uri's don't redirect at all.
Is it possible set a request to follow the redirects or I will have to create a set of request/redirects for each of the cases?

Thanks,
Helio

Helio S.
Helio S.

Helio S.

Level
0
49 / 100
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

This kind of dynamic redirects cannot be handled out of the box. You will have to manage them through "if then else" condition or even "Try...Cache" condition in order to handle each different situations.