I'm attempting to handle multipart form data through an Appwrite Function. I have yet to be able to receive or log it. I've tried manually adding the headers, allowing the fetch request to handle it automatically, I've tried using formidable to process the form data, and I can't seem to actually get the data to the function. I could easily develop a workaround, in fact I already had a working version running with the SDK, but I'm wondering if this is a limitation? I read the August 20,2024 update that said multipart form data would be accessible within functions and in the example it seems to work fairly easily. Something I'm missing here? As I said before I've tried many different methods, they all return blank values. I'll attach a few screens but I feel like they won't be that helpful. When I try sending the multipart form data it doesn't generate an execution record or log, even when I am getting the correct response. Is there a small example someone could post of properly sending and receiving formdata to/from a function?
The "No response was recorded" was from the attempt using formidable, the rest of them don't generate execution logs. I have tried every iteration of headers. Any insight would be appreciated.
https://i.gyazo.com/ce0063f8be49634c7d0a528f6ea87c46.png https://i.gyazo.com/8b04539f70de02800dc5217f9409636a.png https://i.gyazo.com/e9d36f73f111cf6a117b9b1f78e5aab4.png https://i.gyazo.com/6bfbbdf5941440f3b8b4b384dd08e31f.png
Recommended threads
- Provider error when creating a function ...
- Function deployment failed: Unable to re...
Hi Appwrite team, I have been experiencing persistent errors when i attempt to push my appwrite functions. The logs on the deployment detail page on the console...
- Server Down
Appwrite services are down. When will they start working again?