-
Notifications
You must be signed in to change notification settings - Fork 0
/
tests.http
52 lines (36 loc) · 1.6 KB
/
tests.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
###
GET http://localhost:3000/api/opcua/monitoring HTTP/1.1
content-type: application/json
###
POST http://localhost:3000/api/opcua/monitoring HTTP/1.1
content-type: application/json
{"variables":["ns=1;s=free_memory","ns=1;b=1020FFAA"]}
###
delete http://localhost:3000/api/opcua/monitoring HTTP/1.1
content-type: application/json
{"variables":["ns=1;s=free_memory"]}
###
POST http://localhost:3000/api/v0/monitoring HTTP/1.1
content-type: application/json
access-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaGVjayI6dHJ1ZSwidXN1YXJpbyI6Im1mb2wiLCJpYXQiOjE1OTQyMzE4NzEsImV4cCI6MTU5NDIzMzMxMX0.2meKTht1S6bpzta89gA5SDQN7-4zxB06tfVq-H9MtGI
{"variables":[
"ns=1;s=t|SERVIDORES_SERVIDOR1::Programa_Caldera/ENER.L_Cerrito_P",
"ns=1;s=t|SERVIDORES_SERVIDOR1::Programa_Caldera/PV_ELLIOT.SI",
"EEE"
]}
###
DELETE http://localhost:3000/api/v0/monitoring HTTP/1.1
access-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaGVjayI6dHJ1ZSwidXN1YXJpbyI6Im1mb2wiLCJpYXQiOjE1OTQyMzE4NzEsImV4cCI6MTU5NDIzMzMxMX0.2meKTht1S6bpzta89gA5SDQN7-4zxB06tfVq-H9MtGI
content-type: application/json
{"variables":[
"ns=1;s=t|SERVIDORES_SERVIDOR1::Programa_Caldera/ENER.L_Cerrito_P",
"ns=1;s=t|SERVIDORES_SERVIDOR1::Programa_Caldera/PV_ELLIOT.SI"
]}
###
GET http://localhost:3000/api/v0/monitoring HTTP/1.1
access-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaGVjayI6dHJ1ZSwidXN1YXJpbyI6Im1mb2wiLCJpYXQiOjE1OTQyMzE4NzEsImV4cCI6MTU5NDIzMzMxMX0.2meKTht1S6bpzta89gA5SDQN7-4zxB06tfVq-H9MtGI
content-type: application/json
####
POST http://localhost:3000/api/v0/auth HTTP/1.1
content-type: application/json
{"usuario":"mfol","contrasena":"holamundo"}