JSFiddle - React, Tailwind, and code Playground

JavaScript

$.ajax({
  url: "/echo/json",
  success: function(){
    alert('this works.');
  }
});