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!) {
154154 }
155155}
156156```
157+
158+ * POST** /url-of-the-deployed-lambda/graphql
159+
160+ Following * Mutations* have the same URL mentioned above
161+
157162``` javascript
158163mutation AddAuthorMutation {
159164 addAuthor (firstName : " Agatha" , lastName : " Christie" ){
@@ -165,7 +170,7 @@ mutation AddAuthorMutation {
165170
166171``` javascript
167172mutation DeleteAuthorMutation {
168- deleteAuthor (_id: " 62d6afb823b01d6d1ff85988 " )
173+ deleteAuthor (_id: " id-of-the-author-to-delete " )
169174}
170175```
171176
@@ -179,7 +184,7 @@ mutation UpdateAuthorMutation(
179184
180185// variables
181186{
182- " updateId" : " 62d6afd523b01d6d1ff85989 " ,
187+ " updateId" : " id-of-the-author-to-update " ,
183188 " authorData" : {
184189 " firstName" : " Agatha" ,
185190 " lastName" : " Christie" ,
You can’t perform that action at this time.
0 commit comments