This is the more correct API and also has very minor performance benefits.
Attach a file by drag & drop or click to upload