[[extend "layout.html"]]
curl -H "Authentication: [[=token]]" \
[[=URL('rest/chair', scheme=True)]]
curl -X POST \
-d '{"color":"red"}' \
-H "Content-Type: application/json" \
-H "Authentication: [[=token]]" \
[[=URL('rest/chair', scheme=True)]]
curl -H "Authentication: [[=token]]" \
[[=URL('rest/chair/1', scheme=True)]]
curl -X PUT \
-d '{"color":"green"}' \
-H "Content-Type: application/json" \
-H "Authentication: [[=token]]" \
[[=URL('rest/chair/1', scheme=True)]]
curl -X DELETE \
-H "Authentication: [[=token]]" \
[[=URL('rest/chair/1', scheme=True)]]