Skip to content

node-http-proxy with POST requests #569

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

Open
lobo78 opened this issue Jan 31, 2014 · 2 comments
Open

node-http-proxy with POST requests #569

lobo78 opened this issue Jan 31, 2014 · 2 comments

Comments

@lobo78
Copy link

lobo78 commented Jan 31, 2014

This may not be an issue, save for the fact that I couldn't find anything about this in the documentation.

I'm attempting to use the Ghost blogging platform (v0.4) in a subdirectory with another Node/Express app. I was able to get it working by using node-http-proxy as described here: http://stackoverflow.com/questions/20431697/node-http-proxy-and-express

However, when I go to the ghost/signin/ page and try to login, it returns the a 404.

If I go directly to port 2368, then I can login just fine, just not over the proxy. I believe this may have to do with the fact that it's a POST request instead of a GET request, but I'm not sure. Is there something special that needs to be done to proxy POST requests?

Thanks!

@zigomir
Copy link

zigomir commented Apr 3, 2014

This might help you #180 (comment)

@jcrugzz
Copy link
Contributor

jcrugzz commented Apr 3, 2014

@lobo78 that api is no longer valid. Please check the new docs and let me know if you have any questions :).

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

3 participants