JSFiddle - React, Tailwind, and code Playground
JavaScript
$(function(){
$.ajaxSetup({'data': {'secret': 'token'}});
$.get("/echo/json/", "param=stuff");
$.get("/echo/json/", {"param": "stuff"});
});
$(function(){
$.ajaxSetup({'data': {'secret': 'token'}});
$.get("/echo/json/", "param=stuff");
$.get("/echo/json/", {"param": "stuff"});
});