在angular2.POST cal中执行此操作时,位置0处的json中出现意外标记d CreateCategorypostData看起来像什么?http是什么样子的?问题已解决..在py服务中编写此代码以获取数据“data1=request.body.r
在angular2.POST cal中执行此操作时,位置0处的json中出现意外标记d在angular2.POST cal中执行此操作时,位置0处的json中出现意外标记d CreateCategorypostData看起来像什么?http是什么样子的?问题已解决..在py服务中编写此代码以获取数据“data1=request.body.r,json,angular,Json,Angular,在angular2.POST cal中执行此操作时,位置0处的json中出现意外标记d CreateCategorypostData看起来像什么?http是什么样子的?问题已解决..在py服务中编写此代码以获取数据“data1=request.body.read()”CreateCategorypostData是什么样子的?http是什么样子的?问题解决了..在py服务中编写此代码以获取数据“data1=request.body.read()” onCreateCategoryPostData(
CreateCategorypostData
看起来像什么?http是什么样子的?问题已解决..在py服务中编写此代码以获取数据“data1=request.body.read()”CreateCategorypostData是什么样子的?http是什么样子的?问题解决了..在py服务中编写此代码以获取数据“data1=request.body.read()”
onCreateCategoryPostData() {
let dat=JSON.stringify({"key":this.inputcat})
alert(dat);
this._http.CreateCategorypostData(dat)
.subscribe(
data => alert(dat),
error => alert(error),
() => console.log("finished")
);
}