gstroup / apimocker

node.js module to run a simple http server for mock service responses.
MIT License
280 stars 81 forks source link

Proxy post request hangs #48

Closed oguzgu closed 8 years ago

oguzgu commented 8 years ago

With proxy request, posting with body hangs. You have to push bodyParser after proxy, this will fix the issue

gstroup commented 8 years ago

Just noticed this issue. Sorry for the slowness. I will take a look.

pgraham commented 8 years ago

I think that this is caused by this issue: https://github.com/villadora/express-http-proxy/issues/32

Updating to express-http-proxy 0.7.1 should fix this.