# How to save CSV response to a variable?

**URL:** <https://community.postman.com/t/how-to-save-csv-response-to-a-variable/34721>\
**Category:** Help Hub\
**Tags:** variables, response, csv\
**Created:** [April 24, 2022, 7:06am UTC](https://community.postman.com/t/how-to-save-csv-response-to-a-variable/34721 "2022-04-24T07:06:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ld50-art](https://avatars.discourse-cdn.com/v4/letter/l/6a8cbe/32.png) [@ld50-art](https://community.postman.com/u/ld50-art)\
**Post date:** [April 24, 2022, 7:06am UTC](https://community.postman.com/t/how-to-save-csv-response-to-a-variable/34721/1 "2022-04-24T07:06:28Z")

</div>

I have a simple GET call that is returning a CSV response. Here are the headers and a sample row:

**Response Headers**  
_Server: nginx_  
_Date: Sun, 24 Apr 2022 06:49:46 GMT_  
_Content-Type: text/csv_  
_Content-Length: 28112_  
_Content-Disposition: attachment; filename=“Toggl\_time\_entries\_2022-04-18\_to\_2022-04-24.csv”_

**Sample Data**  
_User,Email,Client,Project,Task,Description,Billable,Start date,Start time,End date,End time,Duration,Tags,Amount (USD)_  
_My [Name,my@email.com](mailto:Name,my@email.com),400194601,6.IM.Le,weekly AM/fiance call,Yes,2022-04-22,14:30:07,2022-04-22,15:30:07,01:00:00,“meeting, shortcut”,125.00_

How do I save this data as a collection variable? I’ve search everywhere and can’t find an answer to what I hope is a simple question.
