How to use the fetch function in javascript to respond to HTTP 400 and 200?

后端 未结 0 1925
清酒与你
清酒与你 2021-01-14 06:06

I am trying to use the fetch method in javascript to post data to the server.

Here is what I have done



var formData = {};// data
var url         


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