This commit is contained in:
Philipp
2024-10-14 22:48:14 +02:00
parent c9f9f5279a
commit 4a4962929a
2 changed files with 12 additions and 0 deletions

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)
}