Archived from the Transloadit support forum. Originally posted on January 3, 2013; details may be outdated, see our docs for current behavior. Original thread
Hi guys! Thx for such a great service.
I have a question…
Is it possible to use “http/import” robot for importing dynamic array of urls (not one url, but an array).
E.g. I’m trying to store many images (which are available via urls) from instagram to my s3 bucket.
The template I was trying to use looks like this:
{
"steps": {
"import": {
"robot": "/http/import",
"url": "${fields.photo_url}"
},
"thumb": {
"use": ["import"],
"robot": "/image/resize",
"width": 70,
"height": 70,
"resize_strategy": "crop"
},
"export": {
"use": ["thumb", "import"],
"robot": "/s3/store",
"key": "REDACTED",
"secret": "REDACTED",
"bucket": "*************"
}
}
}
I know that I can hardcode urls in template as an array, but is it possible to send an array of urls via http, that is the question?
Thank you guys! Merry Christmass!