Is it possible to execute server side request in javascript using MLE?
I would like to try the following:
const request = new XMLHttpRequest();
request.open("GET", "http://localhost:8100/api/authors/getAuthor?uniqueId=5f65172d-bf01-4010-b021-90b488faf5cd", false); // `false` makes the request synchronous
request.send(null);
if (request.status === 200) {
console.log(request.responseText);
}