title: How to avoid 307 on rest GET call
body: <p>I am making a GET call but it's changing url of request, because of which I am getting wrong url in code behind using HTTP CONTEXT (in real using SPContext...), Looking at network tag I got this,</p>
  
  <p>Request URL : <a href="https://myPortal.govment.com/us/216/files/_vti_bin/project/project.svc/Users/ExistsByLuck?username=asdasdadasd" rel="nofollow">https://myPortal.govment.com/us/216/files/_vti_bin/project/project.svc/Users/ExistsByLuck?username=asdasdadasd</a></p>
  
  <p>Location     : 
  <a href="https://myPortal.govment.com/_vti_bin/project/project.svc/Users/ExistsByLuck?username=asdasdadasd" rel="nofollow">https://myPortal.govment.com/_vti_bin/project/project.svc/Users/ExistsByLuck?username=asdasdadasd</a></p>
  
  <p>it's removing this "<code>us/216/files/</code>" from my url and <code>status code is 307  Temporary Redirect</code></p>
  
  <p><strong>How can I avoid this behavior ?</strong></p>
  
  <p>This is how I am making this request,</p>
  
  <pre><code>$.ajax({
      url: _spPageContextInfo.webAbsoluteUrl + "/_vti_bin/project/project.svc/Users/ExistsByLuck",
      type: "GET",
      data: { username: parameterUsername },
      contentType: "application/json; charset=utf-8"
  })
  </code></pre>