Skip to content
New issue

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

I can not send request array data with file. #137

Open
phyzerbert opened this issue Nov 13, 2021 · 4 comments
Open

I can not send request array data with file. #137

phyzerbert opened this issue Nov 13, 2021 · 4 comments

Comments

@phyzerbert
Copy link

Hi, Thanks for this great package. I often used this package for all my projects.
I am trying to upload attachment. And I also have array parameter in my requests.
If i select the file, The request changed to FormData, and the array field was changed to different structure. I will attach screenshot. So i can not get the correct array from the request in backend.

image

But with attachment is not working
image
image

Please take care of this issue.
Thanks

@aaronlumsden
Copy link

I'm also having the same issue

@Snakzi
Copy link

Snakzi commented Apr 8, 2022

Anyone ever solved this?

@stefanocurnis
Copy link

also having this issue

@stefanocurnis
Copy link

therealparmesh/object-to-formdata#211

It should be an issue with object-to-formdata. I think we can bump to object-to-formdata version 4.4.2 to solve this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants