JSFiddle - React, Tailwind, and code Playground

JavaScript

$.post(url, jsonData, function(response) {
  console.log(response);
})
  .error(function(err) {
  console.log(err.response);
})