title: wget a https url generates 301 moved permanently error
body: <p>I am trying to use curl to retrieve a usps.com url, but got 301 moved permanently error.
  My code is in a file:</p>
  
  <p>wget -O - "<a href="https://tools.usps.com/go/ZipLookupResultsAction!input.action" rel="nofollow noreferrer">https://tools.usps.com/go/ZipLookupResultsAction!input.action</a> resultMode=1\&amp;companyName=\&amp;address1=123+main+street\&amp;address2=\&amp;city=east+brunswick\&amp;state=MA\&amp;urbanCode=\&amp;postalCode=\&amp;zip="</p>
  
  <p>but the result is:
  Resolving tools.usps.com (tools.usps.com)... 23.194.108.43, 2001:590:100c:18d::1bf2, 2001:590:100c:182::1bf2
  Connecting to tools.usps.com (tools.usps.com)|23.194.108.43|:443... connected.
  HTTP request sent, awaiting response... 301 Moved Permanently</p>
  
  <p>Tried all three: curl, GET and wget but to no avail.</p>