【问题标题】:$http.post function protype (AngularJs)$http.post 函数原型(AngularJs)
【发布时间】:2016-05-28 14:26:30
【问题描述】:

我想知道post函数的原型($http.post())。 它需要多少参数,它们是哪些? 根据我的理解帖子(网址,数据)。

【问题讨论】:

    标签: javascript angularjs xmlhttprequest


    【解决方案1】:

    在方法帖子中,您有 3 个参数(url、data、[config])

    $http.post(url, data, [config]);

    在文档中解释这一点:

    angular post

    【讨论】:

    • 对不起,我不知道,我修好了。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-07-04
    • 2013-10-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多