-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.http
More file actions
34 lines (27 loc) · 722 Bytes
/
index.http
File metadata and controls
34 lines (27 loc) · 722 Bytes
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
### HTTP REST greeter test
//@name http-greeter
GET http://localhost:8080/greeter/linux_china
### RSocket greeter test
//@name rsocket-greeter
RSOCKET greeter
Host: ws://localhost:8080/rsocket
Content-Type: text/plain
linux_china
### grpc greeter test
//@name grpc-gretter
GRPC localhost:6048/org.springframework.cloud.function.grpc.MessagingService/requestReply
{
"payload": "aGVsbG8=",
"headers": {
"spring.cloud.function.definition": "greeter"
}
}
### call account findByNick function
//@name http-nick
GET http://localhost:8080/accountFindByNick/linux_china
### RSocket test
//@name rsocket-nick
RSOCKET accountFindByNick
Host: ws://localhost:8080/rsocket
Content-Type: application/json
"linux_china"