腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
3
回答
Angular
$
http
get
不
工作
。
'id' : 5, } 我的控制器是: $
浏览 0
提问于2017-02-12
得票数 0
回答已采纳
1
回答
Angular
2
Http
Get
不
工作
、
、
、
我尝试了所有的方法,但是我不能得到一个
http
请求到我在heroku上的节点服务器。我可以手动命中路由,所以它不是服务器。我将粘贴我的服务和页面。**类为subscription.service.tsimport {Injectable} from '@
angular
/core' import 'rxjs/add/operat
浏览 0
提问于2016-11-06
得票数 0
1
回答
angular
http
.
get
不
工作
、
、
、
这是我的服务TS文件:import { Inject, Injectable } from "@
angular
/core";> { return this.
http
.
get
(this.baseURL + 'api/List/LoadLists').map(resp => resp.json()
浏览 4
提问于2018-03-05
得票数 3
回答已采纳
1
回答
Angular
2
http
.
get
代码
不
工作
、
、
我正在
Angular
2 beta 15中试用这段代码。import {Component} from '
angular
2/core';export class AppComponent { loading: boolean; constructor(public <e
浏览 2
提问于2016-04-20
得票数 0
回答已采纳
3
回答
找不到模块:错误:无法解析'@
angular
/
http
'?
Module not found: Error: Can't resolve '@
angular
/
http
' even i used import {HttpClientModule} from '@
angular
/common/
http
';
浏览 0
提问于2018-12-28
得票数 4
3
回答
如何使用RXJS观察值轮询服务?
、
、
、
、
给定以下代码,如何将其更改为每500毫秒重复一次对"api/foobar“的
get
请求?import {Observable} from "RxJS/Rx";import {
Http
} from "@
angular
/
http
"; @Injectable() export class ExampleService
浏览 15
提问于2017-01-15
得票数 20
回答已采纳
1
回答
Angular
$
http
.
get
在我的设备上
不
工作
、
、
、
我的js文件是 $
http
.
get
('js/countries.json').success(function (data) { $scope.countries =
浏览 10
提问于2016-09-12
得票数 0
回答已采纳
1
回答
Angular
$
http
.
get
不
返回数据
我创建了一个辅助服务来包装$
http
.
get
。 $
http
.
get
(url)
浏览 6
提问于2016-01-01
得票数 1
1
回答
Angular
http
get
不
执行任何操作
、
、
、
我正在学习Udemy的教程,我不知道如何在
Angular
中使用
HTTP
GET
。我已经创建了一个名为posts的组件,下面是posts.component.ts的代码: import {
Http
} from '@
angular
/
http
'; selector: '
浏览 12
提问于2020-05-04
得票数 1
回答已采纳
1
回答
Angular
$
http
缓存
不
工作
、
我尝试使用
angular
的
http
缓存,但结果未定义。Cache返回一个对象,但usersCache未定义。dataService.explorePosts(); dataService.explorePosts(); console.log(cache); var usersCache = cache.
get
(
浏览 1
提问于2017-01-02
得票数 0
3
回答
Angular
HTTP
GET
请求未按预期
工作
将其粘贴到浏览器中显示了我在
Angular
中使用
HTTP
get
请求时期望获得的实际数据 {"active_chip":"","automatic_subs":[{"id":54265617,"element_in"body": null, "reportProgress": false, "withCredentials": false, "responseType":
浏览 0
提问于2017-11-30
得票数 3
1
回答
$
http
.
get
工作
,$
http
.post
不
工作
、
、
因此,我在控制器中有了这个非常简单的片段,在这里我使用$
http
.
get
从外部文件中获取数据,而且它
工作
得很好!我已经在下面包含了两个版本以及
工作
的$
http
.
get
注释掉了。var blogCtrl =
angular
.module('blogCtrl', []); blogCtrl.controller('articleCtrl', ['$scope', '$routeParams',
浏览 0
提问于2015-07-28
得票数 1
回答已采纳
1
回答
HTTP
Post
工作
,但
GET
不
工作
、
问题是,当寄存器
工作
时: json.put("username", username);public static final String PARSE_API_LOGIN = "/1/login"; 错误:
HTTP
浏览 1
提问于2013-05-16
得票数 3
2
回答
Get
请求
不
工作
-
Angular
4
、
、
我是
Angular
4的新手,我正在尝试用api制作简单的应用程序。但是
Get
请求不起作用,我不知道问题出在哪里。我的服务:import {
Http
, Response } from '@
angular
/
http
'; getPersos
浏览 8
提问于2017-07-10
得票数 1
1
回答
Angular
$
http
get
、
$scope.data = dataResponse; this.getDoctors = function(callBack) { url: 'json/location
浏览 0
提问于2014-08-27
得票数 0
1
回答
手动引导之前需要$
http
的AngularJS注入服务
这是我的服务 this$
get
= function(){ user: function(){ }
浏览 0
提问于2017-06-26
得票数 0
回答已采纳
1
回答
android
http
请求在android设备或android模拟器上不起作用
所以我刚刚创建了这个离子应用程序,我在上面放了一个
http
请求方法用于测试,问题是我为android构建了这个应用程序
http
方法不起作用。但它
工作
得很好,为iOS赢得了一个构建它, ionic (Ionic CLI) : 4.6.0 (/Users/us/node_modules/ionic) @ionic/app-scripts : 3.2.2
浏览 10
提问于2019-07-10
得票数 2
3
回答
角$
http
.
get
不
工作
、
、
因此,我正在测试$
http
.
get
的角度以获取json文件,我使用了以下代码: .success(console.log(result); .error(function(data,status){ } ); 但它没有
工作
,它显示了一个成功的
get
,但在我的角度html页面,它没有
浏览 5
提问于2015-01-14
得票数 0
回答已采纳
1
回答
Angularjs $
http
.
get
不
工作
、
、
、
JsonRequestBehavior.AllowGet); 我有角质的服务: getTrenings: function (data) { var input = $
http
.
get
("/Feed/GetTrenings", { params
浏览 6
提问于2014-03-25
得票数 0
回答已采纳
2
回答
AngularJS $
http
.
get
()
不
工作
、
、
(function(
angular
) { $scope.question = function(id) var page = "/jsonquestion/"+id;alert(site + page);
浏览 3
提问于2014-11-20
得票数 0
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
云直播
即时通信 IM
实时音视频
活动推荐
运营活动
广告
关闭
领券