I have been trying to post ndjson to insight cloud endpoint, the reason for not using json is because there seems limitation on the number of json files that can be posted per endpoint.
headers = {"Accept": "application/json", "Authorization": "Bearer ***", "Content-Type": "application/x-ndjson"}
requests.post(urls_start["links"]["submitResults"],json=ndjson_data, headers=headers)
But I keep getting {"errorMessages":["HTTP 415 Unsupported Media Type"],"errors":{}}
I wonder does that mean insight cloud api does not support ndjson?