Selaa lähdekoodia

Update README.md

Git-Leon 6 vuotta sitten
vanhempi
commit
e85aaaf8ca
No account linked to committer's email
1 muutettua tiedostoa jossa 23 lisäystä ja 0 poistoa
  1. 23
    0
      README.md

+ 23
- 0
README.md Näytä tiedosto

@@ -236,6 +236,29 @@ public ResponseEntity<?> deletePoll(@PathVariable Long pollId) {
236 236
 	]
237 237
 }
238 238
 ```
239
+* Ensure the the data has been persisted by executing a `GET` to `http://localhost:8080/polls/1`
240
+* Upon execution, you should receive this message body.
241
+
242
+```json
243
+{
244
+    "id": 1,
245
+    "question": "What's the best netflix original?",
246
+    "options": [
247
+        {
248
+            "id": 1
249
+        },
250
+        {
251
+            "id": 2
252
+        },
253
+        {
254
+            "id": 3
255
+        },
256
+        {
257
+            "id": 4
258
+        }
259
+    ]
260
+}
261
+```
239 262
 
240 263
 
241 264
 ## Part 3.2 - Create class `VoteController`