title: Unable to get any response in ajax
body: <p>This is the ajax function that I am using. But still no response I am getting. 
  I have given an alert in success <code>alert('hi')</code> but it is not working. But in error, it is saying that alert undefined.</p>
  
  <pre><code>function BindUsers() {
  
      $.ajax({
          type: 'POST', // Method type
          url: 'https://newsapi.org/v1/articles?source=abc-news-au&amp;sortBy=top&amp;apiKey=1f9da58adc9f4197bc26b657821e0722',
          data: {},
          contentType: 'application/json',
          dataType: 'json',
          success: function (data) {
              alert('hi');
              if (data.d.length &gt; 0) {
  
              }
          },
          error: function (result) {
              alert(result.d);
          }
      });
  }
  </code></pre>