Being able to make ajax requests easy is important. Therefore has THRUNIUM simplified ajax requests.
Make ajax requests with options. (list with options coming).
var options = {
url: "https://www.example.com/get-data",
type: "get",
withCredentials: true,
success: function (data) {
// handle data here
},
error: function (e) {
// handle error here
}
});
THRUNIUM.ajax(options);