标签: node.js stream request
我在Nodejs中使用此代码
const options = { method: 'POST', uri: 'storage server', headers: {...}, } fs.createReadStream('path/to/file').pipe(request(options))
但是,如果字段名称为“upload_file”
在这种情况下,我可以命名我发送的数据吗?