I am trying to send a CSV file from my Spring controller to Angular to show on my HTML page. My request gives a 200 but the content type is coming 0. I read other similar questions but was unable to solve my issue. I am really new in both Angular and Spring. Please help.
My Spring controller:
My Angular controller:
I am getting undefined when I try to print the response:
Well behaved women rarely make history - Eleanor Roosevelt. tiny ad: