JSFiddle - React, Tailwind, and code Playground
by darcyclarke
JavaScript
var note = [];
note['description'] = 'test';
note['notebook_id'] = 31685;
$.ajax({
type: 'GET',
url: 'https://rocketr.com/notes',
data: {},
success: function(data) {
console.log(data);
},
error: function(data) {
console.log(':(');
},
dataType: 'jsonp'
});