-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSpring gRPC Client Server (Postman Collection).json
64 lines (64 loc) · 1.87 KB
/
Spring gRPC Client Server (Postman Collection).json
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
57
58
59
60
61
62
63
64
{
"info": {
"_postman_id": "0f987d48-650b-48d5-b4b6-7f65f30d95a1",
"name": "Spring gRPC Client Server Postman",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Get Users",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "10.202.71.252:32428/api/grpc-client-svc/users",
"host": [
"10",
"202",
"71",
"252"
],
"port": "32428",
"path": [
"api",
"grpc-client-svc",
"users"
]
}
},
"response": []
},
{
"name": "Add User",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Mohammed\",\n \"surname\": \"Amine\",\n \"cards\": [\n {\n \"holderName\": \"Mohammed Amine\",\n \"number\": \"5431********1234\",\n \"type\": \"MASTERCARD\",\n \"status\": \"EXPIRED\",\n \"balance\": 100.0,\n \"expiredAt\": \"12/20\",\n \"currencies\": [\n \"AZN\",\n \"USD\"\n ],\n \"specifications\": {\n \"Width\": \"54mm\",\n \"Length\": \"85.5mm\"\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "10.202.71.252:32428/api/grpc-client-svc/users",
"host": [
"10",
"202",
"71",
"252"
],
"port": "32428",
"path": [
"api",
"grpc-client-svc",
"users"
]
}
},
"response": []
}
]
}