Possible to POST an event CSV file for import DHIS2?

Does the API allow for a CSV to be POSTed to the events import-- I’m getting a 415 Unsupported Type Error and don’t know if I’ve missed something or if the API does not allow for CSVs to be POSTed for import.

Basically, I’m trying to mimic the API call that the Import App makes but it seems to be blocked.

The end goal is to automate the import of large csv files (43 files, 1 million rows/values each).

cc: @morten

Regards,

Chase Freeman