/http/import with custom URL

Archived from the Transloadit support forum. Originally posted on May 30, 2012; details may be outdated, see our docs for current behavior. Original thread

Is there some way to specify a URL from the uploaded form for /http/import to use?

The use case would be for a user to enter a URL in my form and then I’d use transloadit to take that URL, import it, and pull some magic on it.

Hey gilbert, are you using our jquery plugin?

Yes

Sure.

Just pass the option “fields”: true to the jQuery plugin. Then all input fields will become available as ${fields.*} assembly variables. To read more about this check here: http://transloadit.com/docs/passing-fields-and-variables-into-templates (the second part of the article).

Kind regards,
Tim