Use the "_format" parameter instead of the (uninitialized) "format" attribute.
Attach a file by drag & drop or click to upload