Skip to content

Commit f7df45f

Browse files
committed
README file updated
1 parent d196b4d commit f7df45f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff 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
158163
mutation AddAuthorMutation {
159164
addAuthor(firstName: "Agatha", lastName: "Christie"){
@@ -165,7 +170,7 @@ mutation AddAuthorMutation {
165170

166171
```javascript
167172
mutation 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",

0 commit comments

Comments
 (0)