Kaynağa Gözat

Update README.md

Git-Leon 7 yıl önce
ebeveyn
işleme
ceafb07b44
1 değiştirilmiş dosya ile 7 ekleme ve 0 silme
  1. 7
    0
      README.md

+ 7
- 0
README.md Dosyayı Görüntüle

279
 * To test the voting capabilities, `POST` a new Vote to the `/polls/1/votes` endpoint with the option object expressed in `JSON` below.
279
 * To test the voting capabilities, `POST` a new Vote to the `/polls/1/votes` endpoint with the option object expressed in `JSON` below.
280
 * On successful request execution, you will see a Location response header with value http://localhost:8080/polls/1/votes/1.
280
 * On successful request execution, you will see a Location response header with value http://localhost:8080/polls/1/votes/1.
281
 
281
 
282
+```JSON
283
+{
284
+    "option": { "id": 1, "value": "Black Mirror" }
285
+}
286
+```
287
+
288
+
282
 
289
 
283
 
290
 
284
 -
291
 -