Forums
How to do API Ingestion Dashboard Designer Module? - Printable Version

+- Forums (https://bdn.bdb.ai)
+-- Forum: BDB Knowledge Base (https://bdn.bdb.ai/forumdisplay.php?fid=13)
+--- Forum: BDB Dashboards Designer (https://bdn.bdb.ai/forumdisplay.php?fid=43)
+---- Forum: BDB Designer Q & A (https://bdn.bdb.ai/forumdisplay.php?fid=16)
+---- Thread: How to do API Ingestion Dashboard Designer Module? (/showthread.php?tid=558)



How to do API Ingestion Dashboard Designer Module? - archana - 12-23-2022

var settings = {
  "url": "https://app.bdb.ai/ingestion/dataIngestion",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "IngestionId": "Enter ingestion id ",
    "IngestionSecret": "Enter ingestion secret",
    "Content-Type": "application/json"
  },
  "data": JSON.stringify([
    {
      "employee_name": a
    }
  ]),
};

$.ajax(settings).done(function (response) {
  console.log(response);
});