title: Changing referer from ajax POST
body: <p>How to change referer from ajax POST data. I want to call ajax from my local computer but it referrer to another domain. </p>
  
  <p>How I can Change? Is it possible</p>
  
  <p><strong>Code :</strong></p>
  
  <pre><code>$.ajax({
      url: "url_here",
      type: "POST",
      headers: {
          "Accept": "application/json, text/javascript, */*; q=0.01",
          "Accept-Encoding": "gzip, deflate",
          "Referer": "Change here reference"
      },
      data: {
          data1: "somedata"
      },
      success: function (data) {
          alert("Success");
      },
      error: function (data) {
          console.log(data);
      }
  });
  </code></pre>