TypeError: $http.get is not a function
at Function.$scope.init (userscore.js:24)
at new studentscoreController (userscore.js:37)
at Object.e as invoke
at $get.Q.instance (angular-1.4.4.min.js:80)
at K (angular-1.4.4.min.js:61)
at g (angular-1.4.4.min.js:54)
at angular-1.4.4.min.js:53
at angular-1.4.4.min.js:20
at n.$get.n.$eval (angular-1.4.4.min.js:133)
at n.$get.n.$apply (angular-1.4.4.min.js:133)
angularJS 报错:$http.get is not a function
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
2条回答 默认 最新
- Robot-S 2015-10-30 05:12关注
错误 如下 :
type Status report
messageHTTP method GET is not supported by this URL
descriptionThe specified HTTP method is not allowed for the requestedresource.
原因:
对于HTTP/1.1,父类HttpServlet的doGet或......
答案就在这里:HTTP Status 405 - HTTP method GET is not supported by this URL
----------------------Hi,地球人,我是问答机器人小S,上面的内容就是我狂拽酷炫叼炸天的答案,除了赞同,你还有别的选择吗?解决 无用评论 打赏 举报