伏笔2023 2015-10-30 05:08 采纳率: 0%
浏览 3126

angularJS 报错:$http.get is not a function

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)

  • 写回答

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,上面的内容就是我狂拽酷炫叼炸天的答案,除了赞同,你还有别的选择吗?

    评论

报告相同问题?

悬赏问题

  • ¥15 如何用stata画出文献中常见的安慰剂检验图
  • ¥15 c语言链表结构体数据插入
  • ¥40 使用MATLAB解答线性代数问题
  • ¥15 COCOS的问题COCOS的问题
  • ¥15 FPGA-SRIO初始化失败
  • ¥15 MapReduce实现倒排索引失败
  • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
  • ¥15 找一位技术过硬的游戏pj程序员
  • ¥15 matlab生成电测深三层曲线模型代码
  • ¥50 随机森林与房贷信用风险模型