JSFiddle - React, Tailwind, and code Playground

by dhoerster

JavaScript

var person = { 
    json : JSON.stringify({
        'first': 'dave',
        'last': 'hoerster'
    })             
};

$.post('/echo/json/', person)
.then(function(data) {
    alert(JSON.stringify(data));
});