title: What are the alternative ways of making an Ajax call?
body: <p>I'm wondering what is the best way to make an AJAX call. </p>
  
  <p>This is what I have right now, and it works just fine. </p>
  
  <pre><code>$.ajax({
  
      url: "/rest/computer",
      type: "GET",
      dataType: "json",
  
      data: {
          assessmentId: "123",
          classroomId:  "234"
      },
  
      success: function(objects) {
  
  
      // .... code ....
  
  
      }
  });
  </code></pre>
  
  <hr>
  
  <p>I'm currently seeking another ways of making an Ajax call. 
  If there is, should I use my approach ? </p>
  
  <p>Should I move an Ajax call into it own function and call it back ? </p>
  
  <p>Any suggestions on this will be much appreciated. </p>