We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am trying to upload an array of objects where each object will have a list of attachments, something like:
var obj = { Description: '', RequestId: 'kjdsf9-dsfa', Items: [ { Description: '', Cost: 132.00, Files: [file1, file2]}, { Description: '', Cost: 461.25, Files: [file3, file4]} ] }
var promise = Upload.upload({ url: '/localhost/saveRequest', method: 'post', data: obj });
However, on the server, the Files array inside every object is null. Can we upload files as above? Or do we have to upload at the top level only.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I am trying to upload an array of objects where each object will have a list of attachments, something like:
var obj = {
Description: '',
RequestId: 'kjdsf9-dsfa',
Items: [
{ Description: '', Cost: 132.00, Files: [file1, file2]},
{ Description: '', Cost: 461.25, Files: [file3, file4]}
]
}
var promise = Upload.upload({
url: '/localhost/saveRequest',
method: 'post',
data: obj
});
However, on the server, the Files array inside every object is null.
Can we upload files as above? Or do we have to upload at the top level only.
The text was updated successfully, but these errors were encountered: