So I'm currently trying to get a redirected URL
from one of my original URLs
.
The problem is, when I send an HTTP
request through ruby to one of the original URLs
, I initially get a response with code 200
and thats it.
However, if I check it in the browser, after calling the original URL
, it waits for a split second and redirects automatically to get a new URL. I'd like to have this new redirected URL
from my ruby code.
Any suggestions?