...
This commit is contained in:
parent
d8aa1544e8
commit
0a84ef4614
|
|
@ -1,16 +1,16 @@
|
|||
|
||||
GetMarkerData();
|
||||
const Data_api = "/api/webhook/data";
|
||||
let Data_api = "/api/webhook/data";
|
||||
let freight =null;
|
||||
|
||||
ReqData = { Places: "Stadte"}
|
||||
let ReqData = { Places: "Stadte"}
|
||||
|
||||
// Post to n8n Server to get Data from Grist in JSON format.
|
||||
async function GetMarkerData() {
|
||||
|
||||
try {
|
||||
const res = await axios.post(Data_api, ReqData);
|
||||
console.log("Antwort n8n:" + res.data);
|
||||
console.log("Antwort n8n:", res.data);
|
||||
|
||||
} catch (err) {
|
||||
console.error (err);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user