当我想在我的AngularJS文件中使用$http.get()方法请求本地json测试文件时,它返回我的索引html content.Is it a routing problem?我没有改变原来的mean.js路由代码(),只是在home.client.controller.js文件中添加了一个$http.get()方法。有人能帮我吗?谢谢!
每当我尝试在API中使用POST方法时,我都会收到这个错误。SyntaxError: Unexpected end of JSON input at fetch.then.response fetch("myURL/test", { headers: {
"Content-Type": "application/<