Converting a Browser File to Effect Multipart.PersistedFile for Large Uploads
How do I convert a Browser File to a Effect Multipart.PersistedFile? I use the HttpApiClient and my endpoint definition looks like this:
In the frontend I use the
But now i get this schema error when calling the endpoint. But only when I call it with a big file.... So i think i should convert the File to a PersistedFile?:
In the frontend I use the
HttpApiClient to make the request. But now i get this schema error when calling the endpoint. But only when I call it with a big file.... So i think i should convert the File to a PersistedFile?:
