Hi I'm trying to find a way to get the URL of a redirected webpage.
Ex/ I type in a url to my web browser, "http:foo.com", and it redirects me to "http://foo.com/bar".
How can I use fetch or something else to have "http://foo.com/bar" returned to me? (The website I'm trying to receive the url from "has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
Please and thanks in advance for ideas / solutions.