test.js
366 Bytes
const { default: axios } = require("axios");
const express = require("express");
const router = express.Router();
const { login } = require("./E_Campus.js");
const parseICal = require("./ICal.js");
async function runrun() {
const mdata = await axios.get("http://localhost:3001/db/users", {params:{loginID:"good1588"}}
)
console.log(mdata.data)
}
runrun();