Skip to content

Commit

Permalink
docs: fix incorrect feedback example
Browse files Browse the repository at this point in the history
  • Loading branch information
danhaller authored and zhenghaoz committed Jun 21, 2020
1 parent 8161c99 commit 7f6f2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage/server/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Insert New Feedback
.. code-block:: bash
curl -X PUT -H 'Content-Type: application/json' 127.0.0.1:8080/feedback \
-d '[{"UserId":"2048","ItemId":"1000","Rating":3},{"UserId":"2049","ItemId":"1000","Rating":3},{"UserId":"2050","ItemId":"1000","Rating":3}]'
-d '[{"UserId":"2048","ItemId":"1000","Feedback":3},{"UserId":"2049","ItemId":"1000","Feedback":3},{"UserId":"2050","ItemId":"1000","Feedback":3}]'
Insert three new ratings: ``<2048,1000,3>``, ``<2049,1000,3>`` and ``<2050,1000,3>``.

Expand Down

0 comments on commit 7f6f2b3

Please sign in to comment.