JSFiddle - React, Tailwind, and code Playground

JavaScript

$.ajaxSetup({
	beforeSend: function(jqXhr, settings) {
  	settings.type = "POST";
  }
})

$.ajax({
	url: "/echo/json/",
  type: "get"
});