Codeforces API

Правка en2, от terserah, 2015-07-30 10:44:58

Hello. I'd like to ask how to request CF API using AJAX. Here is my code :

$.ajax({
       type : "GET" , 
       url : "http://codeforces.com/api/problemset.problems?tags=implementation",
       success : function(data) {
           alert("success");
       } , 
       error : function(data) {
           alert('fail');
       }
});

The AJAX call returns nothing. How do I solve this issue? Thanks!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский terserah 2015-07-30 10:44:58 2 Tiny change: 'y code :\n~~~~~\n$' -> 'y code :\n\n~~~~~\n$'
en1 Английский terserah 2015-07-30 10:44:11 445 Initial revision (published)