Codeforces API

Revision en2, by 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!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English terserah 2015-07-30 10:44:58 2 Tiny change: 'y code :\n~~~~~\n$' -> 'y code :\n\n~~~~~\n$'
en1 English terserah 2015-07-30 10:44:11 445 Initial revision (published)