File tree Expand file tree Collapse file tree 1 file changed +87
-0
lines changed Expand file tree Collapse file tree 1 file changed +87
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "info" : {
3
+ "_postman_id" : " d1b583a4-c5da-467d-87eb-fa47b5a744ee" ,
4
+ "name" : " SSE Service" ,
5
+ "description" : " Server-sent Events (SSE)" ,
6
+ "schema" : " https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
7
+ },
8
+ "item" : [
9
+ {
10
+ "name" : " GET Server-sent events" ,
11
+ "request" : {
12
+ "method" : " GET" ,
13
+ "header" : [
14
+ {
15
+ "key" : " Accept" ,
16
+ "value" : " text/event-stream"
17
+ }
18
+ ],
19
+ "body" : {},
20
+ "url" : {
21
+ "raw" : " http://localhost:8080/sse-service/api/events" ,
22
+ "protocol" : " http" ,
23
+ "host" : [
24
+ " localhost"
25
+ ],
26
+ "port" : " 8080" ,
27
+ "path" : [
28
+ " sse-service" ,
29
+ " api" ,
30
+ " events"
31
+ ]
32
+ }
33
+ },
34
+ "response" : []
35
+ },
36
+ {
37
+ "name" : " DELETE and close SSE" ,
38
+ "request" : {
39
+ "method" : " DELETE" ,
40
+ "header" : [],
41
+ "body" : {
42
+ "mode" : " raw" ,
43
+ "raw" : " "
44
+ },
45
+ "url" : {
46
+ "raw" : " http://localhost:8080/sse-service/api/events" ,
47
+ "protocol" : " http" ,
48
+ "host" : [
49
+ " localhost"
50
+ ],
51
+ "port" : " 8080" ,
52
+ "path" : [
53
+ " sse-service" ,
54
+ " api" ,
55
+ " events"
56
+ ]
57
+ }
58
+ },
59
+ "response" : []
60
+ },
61
+ {
62
+ "name" : " POST a message to Server-sent events" ,
63
+ "request" : {
64
+ "method" : " POST" ,
65
+ "header" : [],
66
+ "body" : {
67
+ "mode" : " raw" ,
68
+ "raw" : " Hello SSE events!"
69
+ },
70
+ "url" : {
71
+ "raw" : " http://localhost:8080/sse-service/api/events" ,
72
+ "protocol" : " http" ,
73
+ "host" : [
74
+ " localhost"
75
+ ],
76
+ "port" : " 8080" ,
77
+ "path" : [
78
+ " sse-service" ,
79
+ " api" ,
80
+ " events"
81
+ ]
82
+ }
83
+ },
84
+ "response" : []
85
+ }
86
+ ]
87
+ }
You can’t perform that action at this time.
0 commit comments