Helper function to return the configuration used by a promise plugin.
Attach a file by drag & drop or click to upload