1
在這個片段中,我試圖在後發送請求的URL參數作爲身體的一部分:如何使用require('request')發送多個帖子參數;
var request = require('request');
request.post({
headers: { 'Content-Type' : 'application/x-www-form-urlencoded'},
url : 'http://localhost:7777',
body : 'tosummarise='+data+'&url'+url
},
但&url
參數沒有被設置。這是正確的方法發送request.post
多個職位參數? tosummarise
的值設置爲