File Upload in Workers via Formdata

Hello im currently trying to build an endpoint which lets me upload files to a R2 Bucket.
But the formdata gives me a string in result instead of an object. I used to do this before but now its not an object anymore.
Did this got changed?

Can someone give me a example code snippet?

Thanks yall!


With kind regards
Louis
Was this page helpful?