
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
- When connecting to VCS (Version Control ...
Hello, when I try to define in my function the root path of a function I get this when I click "Update".
- queries.map is not a function
Query.createdBefore doesnt work ``` tables.updateRows({ databaseId: process.env.APPWRITE_DATABASE_ID, tableId: process.env.APPWRITE_TABLE_ID, ...
- Server Error when Pushing a Function
Get this ambiguous error when trying to push my function, it's TypeScript using NodeJS 18 ``` ? Which functions would you like to push? get-grades (get-grades)...
