export async function test() {
const { default: axios } = await import("npm:axios");
const url = "http://207.244.232.58:8011/api/login";
const message = "testing";
const loginInfo = {
username: "HAZAH",
password: "HAZAHisOP1!",
};
try {
const response = await axios.post(url, loginInfo);
const data = response.json();
console.log("test");
console.log(data);
return true;
}
catch (error) {
console.log(error);
return false;
}
}