@@ -30,15 +30,15 @@ Now navigate to https://localhost:8080 you can see graphiql playground and query
30
30
31
31
#### createUser
32
32
33
- Execute createUser
33
+ Execute createUser mutation
34
34
35
35
``` graphql
36
36
mutation createUser {
37
37
createUser (input : {username : " usr2" , password : " pwd" })
38
38
}
39
39
```
40
40
41
- Expected output similar to :
41
+ Expected JSON result :
42
42
43
43
``` json
44
44
{
@@ -50,15 +50,15 @@ Expected output similar to:
50
50
51
51
#### loginUser
52
52
53
- Execute loginUser
53
+ Execute loginUser mutation
54
54
55
55
``` graphql
56
56
mutation loginUser {
57
57
login (input : {username : " usr2" , password : " pwd" })
58
58
}
59
59
```
60
60
61
- Expected output similar to :
61
+ Expected JSON result :
62
62
63
63
``` json
64
64
{
@@ -72,13 +72,13 @@ Expected output similar to:
72
72
73
73
Set Authorization Header, use token from loginUser
74
74
75
- ``` graphql
75
+ ``` json
76
76
{
77
77
"Authorization" : " eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjI3MzgyNDQsInVzZXJuYW1lIjoidXNyMiJ9.z0yrV6ajZO8IqFBlEuTwAnKRP-C15MuL1REmjJ5YYU8"
78
78
}
79
79
```
80
80
81
- Execute createLink
81
+ Execute createLink mutation
82
82
83
83
84
84
``` graphql
@@ -91,7 +91,7 @@ mutation createLink {
91
91
}
92
92
```
93
93
94
- Expected output similar to :
94
+ Expected JSON result :
95
95
96
96
``` json
97
97
{
@@ -107,7 +107,7 @@ Expected output similar to:
107
107
108
108
#### findLinks
109
109
110
- Execute findLinks
110
+ Execute findLinks query
111
111
112
112
113
113
``` graphql
@@ -120,7 +120,7 @@ query findLinks {
120
120
}
121
121
```
122
122
123
- Expected output similar to :
123
+ Expected JSON result :
124
124
125
125
``` json
126
126
{
@@ -144,7 +144,7 @@ Expected output similar to:
144
144
145
145
#### refreshToken
146
146
147
- Execute refreshToken, provide current token as an input
147
+ Execute refreshToken mutation , provide current token as an input
148
148
149
149
150
150
``` graphql
@@ -155,7 +155,7 @@ mutation refreshToken{
155
155
}
156
156
```
157
157
158
- Expected output similar to :
158
+ Expected JSON result :
159
159
160
160
``` json
161
161
{
0 commit comments