Rank 3: Container
Hello!
I'm currently using the REST API to upload large JPEG files to an Appwrite storage bucket via a microcontroller, but I'm encountering an issue where the server does not return a response after I send the HTTP POST request with the multipart/form-data content. I ensure the Content-Length header is correctly calculated, and I stream the file data in manageable chunks to conserve memory. Despite this, the connection either freezes or times out without a server response. Could you clarify if there are specific requirements or best practices for handling file uploads through the REST API, such as chunked uploads, timeout settings, or required headers? Additionally, are there known cases where the API might not return a response under certain conditions, and how can I troubleshoot or resolve this?