JSFiddle - React, Tailwind, and code Playground
by davidpett
HTML
<div id="response">
response goes here
</div>
JavaScript
$.ajax('http://api.soundcloud.com/tracks.js?client_id=084338cfbf411cedf437bf6c076e2c54', {
contentType: 'application/json; charset=utf-8',
dataType: 'jsonp',
jsonp: false,
error: function(error) {
$('#response').html('error: ' + error.statusText);
},
success: function(json) {
$('#response').html('success');
}
});