Quantcast
Channel: Active questions tagged header - Stack Overflow
Viewing all articles
Browse latest Browse all 656

How to get Location header when URL redirected using Invoke-WebRequest in powershell

$
0
0
  • Calling a URL which permanently moved or redirected, does not return Location http header or the correct location.
  • it seems that URL redirection is being performed during URL call ( http status code : 302, 301 etc ).

How do I overcome this ?


Viewing all articles
Browse latest Browse all 656

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>