|
|
|
|
233
|
-
|
233
|
-
|
234
|
# Part 3.1.8 - Test
|
234
|
# Part 3.1.8 - Test
|
235
|
* Restart the QuickPoll application.
|
235
|
* Restart the QuickPoll application.
|
236
|
-* Ensure a JSON file with a `status` of `200` is returned by executing a `PUT` request of `http://localhost:8080/polls/1` via Postman
|
|
|
237
|
-execute a `PUT` request of
|
|
|
|
|
236
|
+* Use Postman to execute a `PUT` to `http://localhost:8080/polls/1` whose request body is the `JSON` file below.
|
|
|
237
|
+* You can modify the request body in Postman by navigating to the `Body` tab, selecting the `raw` radio button, and selecting the `JSON` option from the text format dropdown.
|
238
|
|
238
|
|
239
|
```JSON
|
239
|
```JSON
|
240
|
{
|
240
|
{
|