Converting this curl POST to a javascript POST with fetch or an XMLHttpRequest gives errors

前端 未结 0 1318
天命终不由人
天命终不由人 2021-01-13 03:02

I am working on making a POST from javascript. The POST in curl looks like this:

 curl -v -H "Content-Type: application/json" -X POST --data @local.         


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