Fetch API: PUT request for JSON returning 404 while GET is working properly

前端 未结 0 1030
不知归路
不知归路 2021-02-05 04:21

I have 1 json file: { "clicks": 0 }

I\'m trying to retrieve the data from it and then update it. The GET works, but the PUT does not.

I use

相关标签:
回答
  • 消灭零回复
提交回复
热议问题