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

multipart requests pass-through not working correctly #66

Open
jbilkes opened this issue Oct 26, 2020 · 1 comment
Open

multipart requests pass-through not working correctly #66

jbilkes opened this issue Oct 26, 2020 · 1 comment

Comments

@jbilkes
Copy link

jbilkes commented Oct 26, 2020

When I start my app using data-mocks for mocking e.g. my login service and I try to upload a file to my backend which is not mocked / passed-through, I got a 400 error telling me the request param is not been delivered to the backend. The request param is not available to Spring at all.
It seems like multipart file-streams are not being passed-through by data-mocks.

Downloading has same issue (which shouldnt come as. a surprise ;))

Using the same code without using data-mocks it works like a charm.

@grug
Copy link
Owner

grug commented Oct 30, 2020

Ooohhh this is an interesting one! Let me look into that for you!

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

2 participants