File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,11 @@ mutation UpdateBookMutation($updateId: ID!, $bookData: UpdataBookParams!) {
154
154
}
155
155
}
156
156
```
157
+
158
+ * POST** /url-of-the-deployed-lambda/graphql
159
+
160
+ Following * Mutations* have the same URL mentioned above
161
+
157
162
``` javascript
158
163
mutation AddAuthorMutation {
159
164
addAuthor (firstName : " Agatha" , lastName : " Christie" ){
@@ -165,7 +170,7 @@ mutation AddAuthorMutation {
165
170
166
171
``` javascript
167
172
mutation DeleteAuthorMutation {
168
- deleteAuthor (_id: " 62d6afb823b01d6d1ff85988 " )
173
+ deleteAuthor (_id: " id-of-the-author-to-delete " )
169
174
}
170
175
```
171
176
@@ -179,7 +184,7 @@ mutation UpdateAuthorMutation(
179
184
180
185
// variables
181
186
{
182
- " updateId" : " 62d6afd523b01d6d1ff85989 " ,
187
+ " updateId" : " id-of-the-author-to-update " ,
183
188
" authorData" : {
184
189
" firstName" : " Agatha" ,
185
190
" lastName" : " Christie" ,
You can’t perform that action at this time.
0 commit comments