Add a new fetch_put_json
authorCarl Worth <cworth@cworth.org>
Fri, 5 Jun 2020 17:17:16 +0000 (10:17 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 6 Jun 2020 11:46:51 +0000 (04:46 -0700)
commite804009ec5cc7bb804c229915ce1c8ebedaa88c7
treed61efdbe76b36a4cb65f62f224d77465bd634a86
parent4bce72deafdf4784b8d21049a937e0cec03a733f
Add a new fetch_put_json

This is very similar to fetch_post_json but with a different request
method. In fact, we share the implementation with a new
fetch_method_json that accepts which method to use.
tictactoe/tictactoe.jsx