腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(7006)
视频
沙龙
1
回答
Angular
4.3
HttpClient
响应
对象
我一直在将我的服务从
Angular
4.3
切换到新的
HttpClient
。 .catch(this.handleError); 但是,
响应
的类型是
浏览 0
提问于2017-08-09
得票数 3
1
回答
错误:未捕获(在promise中):错误: StaticInjectorError(AppModule)[ Http ]:StaticInjectorError Http
Error: StaticInjectorError(AppModule)[Http]: 以下是代码服务: import { Injectable } from '@
angular
/core';import { HttpModule } from '@
angular
/http'; import{ Http } from
浏览 20
提问于2019-06-29
得票数 0
回答已采纳
1
回答
类型‘Header’没有与'RequestOptionsArgs‘类型相同的属性?
、
我刚刚对我们的Range4应用程序和构建工具进行了两个重要的升级: @Injectable() private options:
浏览 3
提问于2017-06-23
得票数 21
回答已采纳
5
回答
获取状态代码http.get
响应
angular
2
、
、
、
我需要获取以下http调用的状态代码,并将其作为字符串返回confirmEmail(mailToken):Observable<String>{ .map(this.extractData) .catch(thi
浏览 6
提问于2017-04-28
得票数 38
1
回答
ngx-翻译不工作在ng-引导模式
、
、
ngx-translate的translate管道在ng-bootstrap的中不能工作。 <h3 class="modal-title"> </h3></div> <
浏览 3
提问于2017-08-30
得票数 0
2
回答
Angular
2和
Angular
8观测值的差异
、
、
我为我正在开发的一个应用程序在
Angular
2中创建了一些与可观察功能相关的函数。但从那以后我就没用过角。来自服务器的API从数据库返回一个
对象
数组: db.get().collection('data')./core';
浏览 5
提问于2019-11-07
得票数 2
1
回答
Http拦截器不记录任何信息
、
、
、
我的
angular
服务看起来像: getAllWithPaging(params: HttpParams){ return
浏览 2
提问于2017-10-11
得票数 0
回答已采纳
1
回答
Http拦截器在
angular
6中不起作用
、
我在我的
angular
6 project.But中使用了httpintercept来处理数据服务中的401 (未授权)错误,但我的项目中没有使用httpintercept。response---"); ) 这是我的通用service.ts页面 import {Http, Respon
浏览 0
提问于2018-09-18
得票数 3
回答已采纳
1
回答
使用数组和
httpClient
将json数据以角度显示到列表中
、
、
、
、
video.service.tsconstructor(private _http:
HttpClient
) { } getVideos
浏览 0
提问于2020-05-08
得票数 0
回答已采纳
0
回答
Angular
4.3
及更高版本的HttpClientModule (
HTTPClient
)错误处理
、
、
我有一个在错误
响应
上记录请求有效负载的场景,但error
对象
不能包含比其默认成员更多的信息。 }
Angular
4.3
:
HttpClient
浏览 0
提问于2017-12-08
得票数 0
回答已采纳
1
回答
res.json()不存在
、
、
、
、
我做了一些研究,看起来问题可能与我正在导入的
HttpClient
有关,但我找不到任何相关的东西。前端功能:import {
HttpClient
, HttpHeaders} from '@
angular
/common/http';im
浏览 1
提问于2018-05-23
得票数 1
回答已采纳
1
回答
在
angular
?
、
、
、
我使用的是
Angular
7,我有这样的文件夹结构 app app.component.htmlcomponent.service.spec.ts 在我的src/app/component.service文件中,我有import { HttpModule } from
浏览 195
提问于2019-05-21
得票数 -1
回答已采纳
1
回答
Observable<string>.switchMap不是函数
、
、
、
我正在将应用程序从角4升级到角5,并在服务中有以下代码 return this.participant$.switchMap((role) => { .map(refData => refData as RefData);由于角5附带了RxJS 5.5.2的最低要求,所以我将其转换为与.pipe()运算符一
浏览 3
提问于2017-12-06
得票数 1
1
回答
Spring Security看不到
Angular
传递的凭据
、
、
当我从
angular
发出post请求时,spring不能识别'username‘和'password’属性。当我从邮递员那里发出投递请求时,它起作用了。.anyRequest().authenticated() } 我最新的
angular
post请求: constructor(private
httpClient
:
HttpClient
) {} handleLogin(user: U
浏览 20
提问于2019-05-15
得票数 0
2
回答
从http头导入选项和请求在
angular
上被弃用
、
、
、
、
它在所有http导入中都显示错误,如果我更改为@
angular
/comon/http,我不知道如何在register方法中更改hhtp头文件和请求。import { Injectable } from '@
angular
/core'; import { UserRegistration } from '..
浏览 0
提问于2018-12-20
得票数 0
3
回答
意外的值“
HttpClient
”
、
、
、
NgModule } from '@
angular
/core';import { StatusBar } from '@ionic-native/status-bar'; import {
HttpClient
} from
浏览 1
提问于2018-05-23
得票数 9
2
回答
如何使用http来发送post请求
、
、
、
、
我使用下面的代码发送一个post请求import { Http, Headers, Response } from '@
angular
/http'; export class
浏览 10
提问于2017-11-02
得票数 4
回答已采纳
2
回答
如何从
Angular
4.2.4升级到
Angular
4.3
、
我在我的应用程序中使用
angular
4.2.4,我想升级到最新的版本(4.3.0)我想进行升级以使用
浏览 28
提问于2017-08-28
得票数 1
回答已采纳
2
回答
在
Angular
中使用`fetch`
、
、
在
Angular
中使用本地Fetch API而不是
HttpClient
有什么特定的技术缺陷吗?我对
Angular
比较陌生,不确定以这种方式“绕过”提供的接口是否安全。我使用的是
Angular
6,我并不关心不支持fetch的客户端。
浏览 0
提问于2018-09-09
得票数 7
回答已采纳
2
回答
错误: HttpHandler在
angular
2中没有提供程序
、
、
/core';import {
HttpClient
} from '@
angular
/common:
HttpClient
, private configuration: ConfigurationService, public cachingInterceptor: CachingInterceptor/common
浏览 4
提问于2017-09-01
得票数 63
回答已采纳
点击加载更多
相关
资讯
UniRx-Unity响应式编程插件(5):消息系统 对象池
此生无悔入 TypeScript
浅谈httpClient使用总结
HttpClient使用详解
Vue.js技术揭秘-响应式数据对象检测变化的注意事项
热门
标签
更多标签
云服务器
ICP备案
云直播
实时音视频
即时通信 IM
活动推荐
运营活动
广告
关闭
领券