POST
/
infer
/
preview
HttpResponse<String> response = Unirest.post("https://api.datalinks.com/api/v1/infer/preview")
.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();
This response does not have an example.

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>. The token can be generated in Settings

Body

application/json

Response

200

Success