File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,23 @@ However, to call using [GraphQL](https://graphql.org/) API you can use any *supp
83
83
84
84
API listing is given below, -
85
85
86
+ ** POST** /url-of-the-deployed-lambda/graphql
87
+
88
+ Following username and password is valid
89
+
90
+ | Username | Password |
91
+ | ---| ---|
92
+ | admin | admin123 |
93
+
94
+ ``` javascript
95
+ query CreateTokenQuery{
96
+ // these are the only possible username and password
97
+ createToken (username : " admin" , password : " admin123" ) {
98
+ token
99
+ }
100
+ }
101
+ ```
102
+
86
103
** GET** /url-of-the-deployed-lambda/graphql
87
104
88
105
Following * Queries* use the same URL mentioned above
@@ -189,20 +206,3 @@ mutation UpdateAuthorMutation(
189
206
}
190
207
}
191
208
```
192
-
193
- ** POST** /url-of-the-deployed-lambda/graphql
194
-
195
- Following username and password is valid
196
-
197
- | Username | Password |
198
- | ---| ---|
199
- | admin | admin123 |
200
-
201
- ``` javascript
202
- query CreateTokenQuery{
203
- // these are the only possible username and password
204
- createToken (username : " admin" , password : " admin123" ) {
205
- token
206
- }
207
- }
208
- ```
You can’t perform that action at this time.
0 commit comments