[#4544] implemented JSVM FormData and added support for $http.send multipart/form-data requests

This commit is contained in:
Gani Georgiev
2024-03-12 21:35:29 +02:00
parent adab0da179
commit 0f1b73a4f5
7 changed files with 5077 additions and 4534 deletions
+4
View File
@@ -2,6 +2,10 @@
- Removed conflicting styles causing the detailed codeblock log data preview to not be properly visualized ([#4505](https://github.com/pocketbase/pocketbase/pull/4505)).
- Minor JSVM improvements:
- Added `$filesystem.fileFromUrl(url, optSecTimeout)` helper (_similar to the Go `filesystem.NewFileFromUrl(ctx, url)`_).
- Implemented the `FormData` interface and added support for sending `multipart/form-data` requests with `$http.send()` when the body is `FormData` ([#4544](https://github.com/pocketbase/pocketbase/discussions/4544)).
## v0.22.3