JSFiddle - React, Tailwind, and code Playground

by wirey00

JavaScript

var request = $.ajax({
    url: "/echo/json/",
    type: "post",
    data: {
        json: JSON.stringify({
            test: 'test'
        })
    },
    dataType: "json",
    contentType: "application/json"
});

request.done(function(response) {
    alert('Loaded.');
    if (response.status == 0) {
        /////
    }
});