DataJet
Search…
⌃K

url

Lets consider following code for HTTP task:
{% assign file_url = "https://cdn.shopify.com/s/files/1/0062/1124/0007/files/paper-plane.png?v=1626373338" %}
{% json upload_options %}
{
"fileName": "user_provided_photo.png",
"url": {{file_url | json }},
"public": false
}
{% endjson %}
{% assign file_result = upload_options | file %}
With following code your file will be transferred from url to your storage.
Last modified 1yr ago