Codeforces API
Difference between en1 and en2, changed 2 character(s)
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)