1$.ajax({
2 headers: { "Accept": "application/json"},
3 type: 'GET',
4 url: 'http://cl.ly/2wr4',
5 crossDomain: true,
6 beforeSend: function(xhr){
7 xhr.withCredentials = true;
8 },
9 success: function(data, textStatus, request){
10 console.log(data);
11 }
12 });