I am currently migrating the use of Ajax to the fetch API, however I am needing a parameter / function the Ajax native beforeSend: function ()
Ajax
fetch API
beforeSend: function ()