-
Notifications
You must be signed in to change notification settings - Fork 0
/
npm.txt
82 lines (77 loc) · 1.75 KB
/
npm.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
安装时
{
method: 'GET',
url: '/koa',
header:
{ 'accept-encoding': 'gzip',
version: '3.10.3',
accept: 'application/json',
referer: 'install koa',
'npm-session': '16db1c6c8c8b9ad0',
'user-agent': 'npm/3.10.3 node/v6.5.0 win32 x64',
host: 'localhost:3345',
connection: 'keep-alive'
}
}
查询时
{
method: 'GET',
url: '/koa',
header:
{ 'accept-encoding': 'gzip',
version: '3.10.3',
accept: 'application/json',
referer: 'view koa',
'npm-session': '4487e7ddd0fd76dc',
'user-agent': 'npm/3.10.3 node/v6.5.0 win32 x64',
host: 'localhost:3345',
connection: 'keep-alive'
}
}
搜索
{
method: 'GET',
url: '/-/all',
header:
{ 'accept-encoding': 'gzip',
version: '3.10.3',
accept: 'application/json',
referer: 'search koa',
'npm-session': '9371bbbc36b84b7f',
'user-agent': 'npm/3.10.3 node/v6.5.0 win32 x64',
host: 'localhost:3345',
connection: 'keep-alive'
}
}
{
method: 'GET',
url: '/-/all/since?stale=update_after&startkey=1475115100000',
header:
{ 'accept-encoding': 'gzip',
version: '3.10.3',
accept: 'application/json',
referer: 'search koa',
'npm-session': '1c7a67007a94039d',
'user-agent': 'npm/3.10.3 node/v6.5.0 win32 x64',
host: 'localhost:3345',
connection: 'keep-alive'
}
}
添加用户
{
method: 'PUT',
url: '/-/user/org.couchdb.user:subying',
header:
{
'accept-encoding': 'gzip',
version: '3.8.9',
accept: 'application/json',
referer: 'adduser',
'npm-session': '60c481ef23cc6327',
'user-agent': 'npm/3.8.9 node/v6.2.0 win32 x64',
host: 'localhost:3345',
'content-type': 'application/json',
'content-length': '171',
connection: 'keep-alive'
}
}