docs: events, automator

This commit is contained in:
hyb1996
2018-02-27 17:59:12 +08:00
parent ce515e58e0
commit 3de96662c6
7 changed files with 87 additions and 16 deletions

View File

@@ -118,8 +118,8 @@ http.get("www.baidu.com", {}, function(res, err){
console.error(err);
return;
}
log("code = " + r.statusCode);
log("html = " + r.body.string());
log("code = " + res.statusCode);
log("html = " + res.body.string());
});
</code></pre><p>如果要增加HTTP头部信息则在options参数中添加例如</p>
<pre><code>console.show();