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

Validation request not work with multipart/form-data in Imposter #647

Open
bao-huynh-mesoneer opened this issue Oct 13, 2024 · 0 comments
Open
Labels

Comments

@bao-huynh-mesoneer
Copy link

When using Imposter Mock to simulate API interactions, I encounter an issue where validation requests fail when handling requests with the multipart/form-data content type. Multipart/form-data is commonly used for file uploads or when submitting forms with mixed data types, and it requires a different parsing mechanism compared to simpler request formats like application/JSON.

My Configuration
image

My Spec
image

Got error
image

I used OpenAPI Spec Version 3.0.0 and got the error "A request body is required, but none was found." I can confirm that I sent enough data; however, I still have that issue.
Thank all.

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

No branches or pull requests

2 participants