Open stephenliu1944 opened 6 years ago
I want to rewrite request cookie using following code, but didn't work.
proxy.on('proxyReq', function (proxyReq, req, res) { proxyReq.setHeader('cookie', 'SESSION=123'); });
And is there a way to find API of proxyReq Object?
I would be interested in a solution too.
I want to rewrite request cookie using following code, but didn't work.
And is there a way to find API of proxyReq Object?