Webdev upload fail

You can not do anything about this, I think a is bug or a limitation.

the WebDev 5.1.7 (b2021060314) module is not ready for multipart/form-data and your desired result.

The work around for this is to include a base64 file in your request. Catch it with base64File = request['params']['yourparamname'] and decode it with Base64 class