Updated documentation and sample to use the new function API
Attach a file by drag & drop or click to upload