JSFiddle - React, Tailwind, and code Playground

by darcyclarke

JavaScript

var req = $.ajax({
    url: 'http://api.flixel.com/flixels/a1ip1lgzk3lrarvkyvsn',
    data: {
        client_id: '18ca720125fbc8c540e1',
        client_secret: '9caad2e4e224e70a4319ec21aa3e87a0610d6969'
    },
    dataType: 'jsonp',
    type: 'GET'
});

req.done(function(response){
  console.log('success', response);
});

req.fail(function(xhr){
  console.log(xhr); 
});