Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/pkg/input/formats/testdata/postman.json
2070 views
1
{
2
"info": {
3
"_postman_id": "20a3fd41-6a86-4e49-8860-f796559d0223",
4
"name": "advancedsearch",
5
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6
},
7
"item": [
8
{
9
"name": "List Projects, Assets and Hosts",
10
"protocolProfileBehavior": {
11
"disableBodyPruning": true
12
},
13
"request": {
14
"method": "GET",
15
"header": [
16
{
17
"key": "Content-Type",
18
"name": "Content-Type",
19
"value": "application/json",
20
"type": "text"
21
}
22
],
23
"body": {
24
"mode": "raw",
25
"raw": "",
26
"options": {
27
"raw": {
28
"language": "json"
29
}
30
}
31
},
32
"url": {
33
"raw": "http://127.0.0.1:8000/api/v1/search/",
34
"protocol": "http",
35
"host": ["127", "0", "0", "1"],
36
"port": "8000",
37
"path": ["api", "v1", "search", ""]
38
}
39
},
40
"response": []
41
},
42
{
43
"name": "List Assets and Hosts",
44
"protocolProfileBehavior": {
45
"disableBodyPruning": true
46
},
47
"request": {
48
"method": "GET",
49
"header": [
50
{
51
"key": "Content-Type",
52
"name": "Content-Type",
53
"type": "text",
54
"value": "application/json"
55
}
56
],
57
"body": {
58
"mode": "raw",
59
"raw": "",
60
"options": {
61
"raw": {
62
"language": "json"
63
}
64
}
65
},
66
"url": {
67
"raw": "http://127.0.0.1:8000/api/v1/search/?projectId=1,2",
68
"protocol": "http",
69
"host": ["127", "0", "0", "1"],
70
"port": "8000",
71
"path": ["api", "v1", "search", ""],
72
"query": [
73
{
74
"key": "projectId",
75
"value": "1,2"
76
}
77
]
78
}
79
},
80
"response": []
81
},
82
{
83
"name": "List Hosts",
84
"protocolProfileBehavior": {
85
"disableBodyPruning": true
86
},
87
"request": {
88
"method": "GET",
89
"header": [
90
{
91
"key": "Content-Type",
92
"name": "Content-Type",
93
"type": "text",
94
"value": "application/json"
95
}
96
],
97
"body": {
98
"mode": "raw",
99
"raw": "",
100
"options": {
101
"raw": {
102
"language": "json"
103
}
104
}
105
},
106
"url": {
107
"raw": "http://127.0.0.1:8000/api/v1/search/?projectId=1,2&assetId=1,2",
108
"protocol": "http",
109
"host": ["127", "0", "0", "1"],
110
"port": "8000",
111
"path": ["api", "v1", "search", ""],
112
"query": [
113
{
114
"key": "projectId",
115
"value": "1,2"
116
},
117
{
118
"key": "assetId",
119
"value": "1,2"
120
}
121
]
122
}
123
},
124
"response": []
125
},
126
{
127
"name": "Search Request",
128
"request": {
129
"method": "POST",
130
"header": [
131
{
132
"key": "Content-Type",
133
"name": "Content-Type",
134
"value": "application/json",
135
"type": "text"
136
}
137
],
138
"body": {
139
"mode": "raw",
140
"raw": "{\n\t\"query\": \"query\",\n\t\"projectId\": [4,3,4],\n\t\"assetId\": [2,3,4],\n\t\"hostId\": [1,2,3],\n \"limit\": 10,\n \"offset\": 10\n}",
141
"options": {
142
"raw": {
143
"language": "json"
144
}
145
}
146
},
147
"url": {
148
"raw": "http://127.0.0.1:8000/api/v1/search/",
149
"protocol": "http",
150
"host": ["127", "0", "0", "1"],
151
"port": "8000",
152
"path": ["api", "v1", "search", ""]
153
}
154
},
155
"response": []
156
}
157
],
158
"protocolProfileBehavior": {}
159
}
160
161