title: How to set the Origin Request Header
body: <p>I want to send an AJAX request to a remote API.</p>
  
  <pre><code>function Gettest(CourseID) {
      var param = { "CourseID": CourseID};
      param = JSON.stringify(param);
      $.ajax({
          type: "Post",
          url: apiurl + "Course/DelCoursetargetedaudience",
          contentType: "application/json; charset=utf-8",
          data: param,
          dataType: "json",
          success: function (data) {
          },
          error: function (response) {
          }
      });
  };
  </code></pre>
  
  <p>But I need to change the origin name, before sending the request.</p>
  
  <p>Please refer to the image below.</p>
  
  <p><a href="https://i.stack.imgur.com/ehAnv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ehAnv.png" alt="enter image description here"></a></p>