@@ -114,11 +114,11 @@ Now head over to the *frontend* served under **http://localhost:8070/** (routed
114114
115115** KeyCloak:** 8060 (optional)
116116
117- ### Test with other tools
117+ ## Test with other tools
118118
119119All values in * doubled curly brackets ({{})* must be replaced with the actual value, including the brackets!
120120
121- #### RSocket
121+ ### RSocket
122122
123123For RSocket development I used [ RSC] ( https://github.com/making/rsc ) installed using:
124124
@@ -128,7 +128,7 @@ brew install making/tap/rsc
128128
129129** Note:** When using this tool whole frames sent are visible and also check out the server logs.
130130
131- ##### SpringSecurity
131+ #### SpringSecurity
132132
133133``` shell
134134# Basic
@@ -143,7 +143,7 @@ $ rsc --stream --route=orders.all --sm simple:{{user}}:{{password}} --smmt MESSA
143143$ rsc --stream --route=orders.all --sm simple:{{user}}:{{password}} --smmt MESSAGE_RSOCKET_AUTHENTICATION --debug --metadata=' {"data":"custom metadata value from rsc"}' ws://localhost:8070/server/rsocket
144144```
145145
146- ##### KeyCloak
146+ #### KeyCloak
147147
148148First we need to get an * access_token* for * bearer auth* , [ see this] ( #get-access-token )
149149
@@ -160,11 +160,11 @@ $ rsc --stream --route=orders.all --sm "bearer:{{access_token}}" --smmt MESSAGE_
160160$ rsc --stream --route=orders.all --sm " bearer:{{access_token}}" --smmt MESSAGE_RSOCKET_AUTHENTICATION --debug --metadata=' {"data":"custom metadata value from rsc"}' ws://localhost:8070/server/rsocket
161161```
162162
163- #### HTTP
163+ ### HTTP
164164
165165To retrieve the stream using * HTTP* I used [ HTTPIE] ( https://httpie.io/ ) using:
166166
167- ##### SpringSecurity
167+ #### SpringSecurity
168168
169169Retrieve orders:
170170
@@ -184,7 +184,7 @@ http :8070/server/orders/new kind==got --auth "{{user}}:{{password}}"
184184
185185http --stream :8070/server/orders Authorization:"Bearer {{access_token}}"
186186
187- ##### KeyCloak
187+ #### KeyCloak
188188
189189First we need to get an * access_token* for * bearer auth* , [ see this] ( #get-access-token )
190190
0 commit comments