![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nodejs
文章平均质量分 53
三岁九年
持续更新,有时相隔时间会过长
展开
-
nodejs 处理用户的请求
nodejs 处理用户的请求nodejs 处理用户的请求get 请求post 请求 nodejs 处理用户的请求 get 请求 get请求的数据拼接在url地址后边, 以? 作为连接, 多个数据之间使用 & 符号连接 获取用户传递的数据通过 query 字段获取 const http = require('http') const url = require('url') http.createServer((req, res) => { // 获取用户传递的数据 let原创 2021-03-19 14:24:21 · 206 阅读 · 0 评论 -
nodejs常用模块
nodejsnodejsnodejs 介绍nodejs 模块nodejs 搭建服务器nodejs 的 url 模块nodejs 的 fs 文件系统对文件的基本操作读流和写流nodejs 的路由nodejs 搭建一个静态资源服务器 nodejs nodejs 介绍 nodejs运行在服务器端的js; 非阻塞I/O; 基于谷歌的V8引擎 nodejs 模块 内置模块 第三方模块 自定义模块 nodejs 搭建服务器 需要借助 http 模块 搭建服务器 const http = require('htt原创 2021-03-18 09:38:41 · 967 阅读 · 0 评论