Compare commits

...

2 Commits

Author SHA1 Message Date
Philipp
ace1971468 Merge branch 'main' of https://gitea.goetje-ing.de/ArchitectsOfTheBitburner/The_Bitburner_Scripts 2024-10-14 22:48:21 +02:00
Philipp
4a4962929a sync 2024-10-14 22:48:14 +02:00
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1 @@
Hello World!

11
Ramses/home/testAPI.js Normal file
View File

@@ -0,0 +1,11 @@
/** @param {NS} ns */
export async function main(ns) {
let data = await (await fetch('https://n8n.goetje-ing.de/webhook/21ea55b7-56c6-4e73-b6b7-c733735c1289', {
method: 'POST',
headers: {
'authentication': 'Secret',
'Content-Type': 'application/json'
},body: JSON.stringify({"statement":false})
})).json()
ns.tprint(data)
}