I couldn't find any useful answer in similar questions.
Basically I have an api that responds with a list of data in csv form. Can see all this data in postman. I want to use that data as a param on another api in a 'post' method.
The questions are: how do I handle csv data in javascript so that I can store it in a variable and use it in the aforementioned post api call as param, the data being a list of values.
I realise I am not posting any code, I am happy to be pointed in the right direction as can find anything clear in googleland. So far when I just call the api and store the response in a variable, it gives me nothing when I try to console log it.
any guidance is highly appreciated.