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

Testing POST request with application/x-www-form-urlencoded and multipart/form-data #14

Open
Munter opened this issue May 30, 2017 · 0 comments

Comments

@Munter
Copy link
Member

Munter commented May 30, 2017

It's not possible to test POST requests with content-type application/x-www-form-urlencoded or multipart/form-data.

I was trying to use https://www.npmjs.com/package/request#forms as an inspiration on how to test form posts with unexpected-express. But it seems the implementation for { form: { ... } } is missing

Munter added a commit that referenced this issue May 31, 2017
… a standard application/x-www-form-urlencoded HTML form submission. Refs #14
papandreou added a commit that referenced this issue May 31, 2017
Implement #14: x-www-form-urlencoded form posts via request.form
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

1 participant