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
FormData makes it really easy to upload files. In the body processing middleware we just need to detect FormData objects and do nothing (don't even set the Content-Type header) so that it gets passed straight to XHR which will correctly process the FormData. Just need to instruct tell users how to properly setup the FormData.
varformData=newFormData();// Name must be artifact otherwise the API will return a 400formData.append('artifact',fileBlob);
Are there other usecases we need to support where a blob isn't available?
The text was updated successfully, but these errors were encountered:
justincy
changed the title
Support uploading files for memories
Support uploading files for creating memories
Jan 24, 2017
FormData makes it really easy to upload files. In the body processing middleware we just need to detect FormData objects and do nothing (don't even set the Content-Type header) so that it gets passed straight to XHR which will correctly process the FormData. Just need to instruct tell users how to properly setup the FormData.
Are there other usecases we need to support where a blob isn't available?
The text was updated successfully, but these errors were encountered: