Added first mock design and CAS tests
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
const token = process.env.CAS_TOKEN;
|
||||
|
||||
async function main() {
|
||||
const response = await fetch("https://ident.univ-amu.fr/login?service=http://localhost", {
|
||||
"Cookie": `TGC=${token}`
|
||||
});
|
||||
console.log(response.headers);
|
||||
|
||||
|
||||
const responseText = await response.text();
|
||||
|
||||
console.log(responseText);
|
||||
}
|
||||
|
||||
main();
|
||||
Reference in New Issue
Block a user