How do I get webpack-dev-server to accept POST requests
问题 In my project I call: $ webpack-dev-server --history-api-fallback And it starts an express server (I'm assuming) available on localhost:8080 . It works great except that I want to submit a form via POST into an iframe loading my app; localhost:8080 in development and something else in production. I don't expect to do anything with that POST data in development, but in production, it needs to be POST. When I try to use POST however, it cannot find POST / Is there a configuration option or some