i'm trying send post request api gives me following error: i'm using express-http-proxy package node send request. here code: app.use('/api', proxy(targeturl, { forwardpath: (req, res) => { return require('url').parse(req.url).path; } })); in reactjs application, i'm using superagent pass request , here request creation code: methods.foreach((method) => this[method] = (path, data = {}, params = {}) => new promise((resolve, reject) => { const request = superagent[method](formaturl(path)); request.set('token', 'cb460084804cd40'); if (params) { request.query(params); } if (__server__ && req.get('cookie')) { request.set('cookie', req.get('cookie')); } if (data) { request.send(data); } console.log('sending: ', request); // request.end((err, { text } = {}) ...