摘要:
const http = require('http'); const querystring = require('querystring'); const postData = querystring.stringify({ 'msg': 'Hello World! ----- 哈利路亚' }); const options = { hostname: '192.168.1.6'... 阅读全文
posted @ 2017-05-11 18:01
次序
阅读(446)
评论(0)
推荐(0)
摘要:
const http = require('http'); http.get('http://192.168.1.6:8080/getDemo?msg=12', (res) => { const { statusCode } = res; const contentType = res.headers['content-type']; let error; if (statu... 阅读全文
posted @ 2017-05-11 18:00
次序
阅读(488)
评论(0)
推荐(0)

浙公网安备 33010602011771号