sync
This commit is contained in:
1
Ramses/home/firstFile.txt
Normal file
1
Ramses/home/firstFile.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Hello World!
|
||||||
11
Ramses/home/testAPI.js
Normal file
11
Ramses/home/testAPI.js
Normal 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)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user