DataJet
Search…
content
Lets consider following code for HTTP task:
1
{% capture csv_report %}
2
order_id, total
3
#121, 220
4
#122, 140
5
{% endcapture %}
6
7
{% json upload_options %}
8
{
9
"fileName": "report.csv",
10
"content": {{csv_report | strip | json }},
11
"public": false
12
}
13
{% endjson %}
14
15
{% assign file_result = upload_options | file %}
16
Copied!
With following code your file will be transferred from url to your storage. Additionally file_result will contain a url of the report.
Last modified 9mo ago
Copy link