axios.put with JSON object to ASP.NET backend

后端 未结 0 1922
天涯浪人
天涯浪人 2020-12-06 02:38

I\'m trying to send updated data with the following client code:

const url = new URL(`${process.env.REACT_APP_API}/datas/edit/${id}`);
axios.put(url, data);
<         


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