Forums

Full Version: How to do API Ingestion Dashboard Designer Module?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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);
});