$.get get result
Edit
How to get the result from a get request ajax call using jquery.
Solution 1
var retval = await $.get("/LoggedIn" console.log(retval);
Solution 2
$.get("/LoggedIn", (data) => { console.log(data); })