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
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?