JSFiddle - React, Tailwind, and code Playground

JavaScript

$.ajax({
        type : "POST",
        url : "http://polar-dawn-3847.herokuapp.com/",
        contentType : "text/plain",
        dataType : "text",
        success : function(e) {
            alert("success");

        },
        error : function(e) {
            alert("FAILLLLLLLLL");
        }
    });