JSFiddle - React, Tailwind, and code Playground

HTML

<div id='foo'>
    BRAMSON
</div>

JavaScript

$.ajaxPrefilter(function(options) {
  console.log(options, typeof options.data);  
});

$.post("/echo/html/", {foo: "bar", html: "BARRRRRR"} , function(data) {
    $("#foo").html(data);
});