I'm having trouble with a page (url) that I request via XMLHttpRequest. Instead of getting a response from the requested url, the request is being directed to another page.
requesting --- > page.php
getting response from > directedpage.php
My question is, how can I retrieve the response url? (directedpage.php in this case)