HttpResponse<String> response = Unirest.post("https://api.datalinks.com/api/v1/ingest/{namespace}/{datasetName}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"data\": [\n {\n \"name\": \"Braveheart\",\n \"year\": 1995,\n \"budget\": 72000000,\n \"director\": \"Mel Gibson\"\n },\n {\n \"name\": \"Argo\",\n \"year\": 2012,\n \"budget\": 44500000,\n \"director\": \"Ben Affleck\"\n },\n {\n \"name\": \"A Quiet Place\",\n \"year\": 2018,\n \"budget\": 17000000,\n \"director\": \"John Krasinski\"\n },\n {\n \"name\": \"Dances with Wolves\",\n \"year\": 1990,\n \"budget\": 22000000,\n \"director\": \"Kevin Costner\"\n },\n {\n \"name\": \"Unforgiven\",\n \"year\": 1992,\n \"budget\": 14000000,\n \"director\": \"Clint Eastwood\"\n },\n {\n \"name\": \"The Postman\",\n \"year\": 1997,\n \"budget\": 80000000,\n \"director\": \"Kevin Costner\"\n }\n ],\n \"infer\": {\n \"columns\": []\n },\n \"link\": {\n \"ExactMatch\": null\n }\n}")
.asString();