node-http-proxy icon indicating copy to clipboard operation
node-http-proxy copied to clipboard

proxy request to google cloud functions not working.

Open prasadtechnology opened this issue 6 years ago • 1 comments

Hi,

I am trying to proxy the request to google cloud functions using the http-proxy. But i am getting following response. Your client has issued a malformed or illegal request. When i try using the open api like https://jsonplaceholder.typicode.com/posts. I am able to get the response. Not sure what's going wrong. Note: My cloud function also open currently.

prasadtechnology avatar Apr 01 '20 09:04 prasadtechnology

Actually issue caused due to body parser.

prasadtechnology avatar Apr 02 '20 13:04 prasadtechnology