【发布时间】:2021-09-29 11:48:58
【问题描述】:
所以当我尝试向后端发送一个 post 请求时,我得到 ```response code:500`` 并且在 API 端收到的数据对象是空的 我试过用邮递员做同样的事情,效果很好。
return htpp.post(link,data,headers).subscribe(response=>{
console.log(response);
},
error=>{
console.log(error);
});```
this is my function call for the same
【问题讨论】:
标签: angular typescript http-post