Browse Source

Update README.md

Git-Leon 6 years ago
parent
commit
e85aaaf8ca
No account linked to committer's email
1 changed files with 23 additions and 0 deletions
  1. 23
    0
      README.md

+ 23
- 0
README.md View File

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
 ## Part 3.2 - Create class `VoteController`
264
 ## Part 3.2 - Create class `VoteController`