-
Notifications
You must be signed in to change notification settings - Fork 1
/
ManualProbeTest.http
56 lines (37 loc) · 1.6 KB
/
ManualProbeTest.http
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
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
GET http://0.0.0.0:8080/
###
GET http://0.0.0.0:8080/api/probe/auth/get/ioc/24
Content-Type: application/json
#WWW-Authenticate: Basic realm="IOC Server Probes", charset=UTF-8
Authorization: Basic QmFzaWMgcHJvYmUxOnByb2JlS2V5 # probe1:probeKey
###
POST http://0.0.0.0:8080/api/probe/auth/post/ioc/result
Content-Type: application/json
Authorization: Basic QmFzaWMgcHJvYmUxOnByb2JlS2V5 # probe1:probeKey
{
"datetime": "2020-01-25T21:16:29.659226400Z",
"foundIocs": [
1
]
}
###
## {"pagination":{"page":1,"perPage":10},"sort":{"field":"id","order":"ASC"},"filter":{}}
GET http://0.0.0.0:8080/api/admin/list/iocs?query={"pagination":{"page":1,"perPage":50},"sort":{"field":"id","order":"DESC"},"filter":{}}
Content-Type: application/json
### Get one
GET http://0.0.0.0:8080/api/admin/one/iocs/1
Content-Type: application/json
### Get many
GET http://127.0.0.1:8080/api/admin/many/users?query={"ids":[1]}
Content-Type: application/json
### Post
###
GET https://www.circl.lu/doc/misp/feed-osint/5a0a9aa9-23a4-4607-b6df-41a9950d210f.json
###