You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no way to attach files to requests in Emberfall. APIs that require file uploads (PDF processing, image analysis, document conversion) cannot be smoke tested.
Proposed Solution
Extend the multipart body type (see #52) to support file attachments from the local filesystem:
The files key would map form field names to local file paths. Emberfall would read the file, determine the content type, and attach it as a multipart file part.
Considerations
File paths should be relative to the config file location or CWD
Content-Type detection could use file extension (.pdf -> application/pdf, .docx -> application/vnd.openxmlformats-officedocument.wordprocessingml.document)
Should fail clearly if the referenced file does not exist
Problem
There is no way to attach files to requests in Emberfall. APIs that require file uploads (PDF processing, image analysis, document conversion) cannot be smoke tested.
Proposed Solution
Extend the
multipartbody type (see #52) to support file attachments from the local filesystem:The
fileskey would map form field names to local file paths. Emberfall would read the file, determine the content type, and attach it as a multipart file part.Considerations
.pdf->application/pdf,.docx->application/vnd.openxmlformats-officedocument.wordprocessingml.document)