How to find the url of the page is retrieved via ajax after the redirects?

There is a simple ajax GET request to a page which redirects to another page.
I need after the GET request to find the url of the page referenced by the one I made the request.
Thanks in advance for your help.
June 7th 19 at 14:58
1 answer
June 7th 19 at 15:00
Solution
You this mean?
can twist jqXHR, which returns a function comlete - Gonzalo.Hane39 commented on June 7th 19 at 15:06
Excellent, thank you.
I just searched for type design
$.ajax({... but to replace you proposed to me too.
But out of curiosity, is there a similar solution for the design I used? - Catharine71 commented on June 7th 19 at 15:03

Find more questions by tags JavaScriptjQueryAJAX