下面是我的angular http put请求
postRequest(data) : Observable<any>{
return this.http.post("http://localhost:5050",data).pipe(map(this.dataHandler));
}
当我进行此调用时,服务器端调用了以下方法:
app.put("/",function(request,response){
response.send("Put request received successfully");
})
我想在express中检索作为服务器端put请求的一部分从客户端发送的数据。请帮帮忙。提前谢谢。
https://stackoverflow.com/questions/50777545
复制相似问题