Git-Leon преди 6 години
родител
ревизия
e85aaaf8ca
No account linked to committer's email
променени са 1 файла, в които са добавени 23 реда и са изтрити 0 реда
  1. 23
    0
      README.md

+ 23
- 0
README.md Целия файл

@@ -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`