title: Follow redirect URL in jquery get() method
body: <p>I was sending a get request to google app script url in my application using Jquery's get method. it was working fine but suddenly that api has started to redirect to some other url in case of authentication error. so i am getting an empty string with 302 status code.
  So is there any way i can follow the redirected URL using jquery get method or any other way?</p>
  
  <p>here is how i am calling that google app script url</p>
  
  <pre><code>$.get(url).done(function( data ){
      console.log(data);
  });
  </code></pre>