JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js"></script>
JavaScript
$(function() {
$.ajax({
url: '/echo/json',
type: 'GET',
dataType: 'json',
success: function(data) {
console.log(data)
}
});
})