就比如说
var https=require('https');
function foo(gae,payload,path){
var options={
"host":gae.appid + ".appspot.com",
"port":443,
"path":path,
"method":'POST'
};
https.request(options,(res)=>{console.log(res)}.write(payload).end();
}
由于众所周知的原因这里我必须指定ip地址,但是要如何指定呢?