I have one more great update for you!
The past few weeks were spent on adding support for file uploads! That's right! Now, with YAWE you can also uploads files used in your application. How cool is that? As you can see I'm pretty excited about this!
Let me give you a quick introduction to this feature.
To upload files you don't need any special endpoint, you can create endpoint to upload file in the same way you did for data. The main difference, besides the files, is the Content-Type of the request, it must be multipart/form-data, and the files must be sent using the fieldname file and using FormData when uploading from the web.
And that's it, you can now upload files! Have a look at this example to see file uploads in action.
There are a few more things to consider:
- You can upload up to 10 files in one request.
- Each file can be up to 100MB.
The size occupied by the files in your endpoint will be shown on the Dashboard.
To find out more about this new update please check the docs for File Uploads.
I hope you find this update useful! In case of any questions, you can contact me directly or use our discord channel!