Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dataease/SQLBot
/ toGet
Function
toGet
g2-ssr/app.js:65–68 ·
view source on GitHub ↗
(req, res)
Source
from the content-addressed store, hash-verified
63
64
//获取GET请求内容
65
function
toGet(req, res) {
66
let
data =
'GET请求内容:\n'
+ util.inspect(url.parse(req.url));
67
res.end(data);
68
}
69
70
//获取POST请求内容、cookie
71
function
toPost(req, res) {
Callers
1
app.js
File · 0.85
Calls
1
parse
Method · 0.45
Tested by
no test coverage detected