I need a way to grab the contents of a CSV file, preferably in just the Angular front-end app, from the network hosting the app. I do believe using the httpClient library will work, but I can't test it until its hosted because any calls from my local host cause a CORS error. I really just need to emulate what the HTML:
<button Type='File" (click)="function($event)"></button>
does. I would like to use FileReader because it seems to work well.
I can also just expose an API with a node server, but if this can work it is preferable so as to not be dependent on another servers status.