腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
Http
Post
Angular
9
参数
angular
、
ionic-framework
、
curl
、
post
、
httpclient
我尝试在登录方法上发布我的电子邮件和密码,但每次在响应后都得到空的
参数
使用curl,我发送了它,一切都正常了 curl_setopt($ch, CURLOPT_POSTFIELDS,
http
_build_query($
post
)) where $
post
array('email'=>'some@gmail.com', 'password'=>'somepass') 但是当我在
angular
上尝试
pos
浏览 27
提问于2021-01-27
得票数 0
1
回答
Angular
http
post
参数
angular
、
parameters
、
http-post
我向rest api发送一个
post
请求,如下所示 .toPromise() this.onSuccess(success); this.onError(error);请求工作得很好,但是我从服务器得到了一个错误的响应,因为
参数
是这样发送的
浏览 0
提问于2017-11-04
得票数 1
1
回答
Angular
http
POST
无法发送
post
参数
php
、
angular
、
ionic3
httpOptions = { 'Content-Type': 'application/json' }; this.datos = response; }); 这就是服务器得到的所有信息:
POST
/info.php
浏览 21
提问于2019-03-13
得票数 0
回答已采纳
1
回答
Angular
$
http
$_
POST
未获取
参数
php
、
angularjs
这就是我的问题:我向一个php文件发出了一个带有一些
参数
的
http
请求,但是这个php没有很好地获取这些
参数
,因为来自php的响应状态是200,这是可以的,但是$_
post
没有获取任何东西。下面是
http
请求: return $
http
({php $id_col = $_<
浏览 0
提问于2015-04-10
得票数 0
3
回答
ionic 3 rest api身份验证
angular
、
ionic3
、
restful-authentication
、
typescript-typings
} from 'ionic-
angular
';import {
Http
} from '@
angular
/
http
'; import { HttpModule } from
浏览 0
提问于2017-08-23
得票数 1
1
回答
如何在
angular
9
中测试带
参数
的
http
.
post
请求?
angular
、
code-coverage
、
angular9
、
angular-unit-test
我是
angular
的新手,我有一个用一些
参数
调用
HTTP
post
请求的服务。现在我想在
angular
中测试这个服务函数。我的服务部分是 import { HttpClient, HttpHeaders } from '@
angular
/common/
http
';p
浏览 28
提问于2020-11-09
得票数 0
1
回答
HTTPparams 422 (无法处理的实体)和FastAPI的角度错误
angular
、
rest
、
fastapi
、
http-status-code-422
、
http-parameters
我在后台有这个网址,需要像
参数
一样传递c1,c1只是一个例子,这个方法启用或禁用用户并返回一个"ok“
http
://127.0.0.1:8000/admin/enable_disable_accountObservable<any> { .append('name', username) return this.
http
.
post
('
浏览 17
提问于2021-09-21
得票数 2
回答已采纳
1
回答
如何修复415 /不支持的介质类型错误?
angular
、
http
、
post
我正在用
angular
写一篇文章。我已经在Postman中成功地做到了这一点,所以我现在只是尝试在我的
angular
应用程序中获得它。当我尝试在
angular
中发出请求时,我得到一个 Status Code: 415 / Unsupported Media Type 控制台中还有一个很长的错误代码 ERROR Error: UncaughtPostmanRuntime/7.13.0", "Cache-C
浏览 13
提问于2019-06-14
得票数 0
回答已采纳
2
回答
用httpclient.
post
在角上发送和接收不同类型的
angular
、
typescript
、
post
、
angular-httpclient
我需要调用一个web服务,其中我用一个用户对象发送一个
POST
请求,它返回给我一个LogToken对象。 我无法找到如何使用角httpClient来实现这一点,因为它似乎期待相同类型的发送和接收。_httpClient.
post
<User>(this.接收与
POST
请求不同的类型是错误的吗?
浏览 0
提问于2018-03-06
得票数 2
回答已采纳
2
回答
角分量需要2个
参数
wordpress
、
angular
、
typescript
/
post
-list.component.spec.ts import {
Post
} from '.: HttpClient) { } return this.
http
.get<<e
浏览 2
提问于2017-10-28
得票数 0
回答已采纳
7
回答
Angular
2 -
Http
POST
请求
参数
typescript
、
angular
我正在尝试发出
POST
请求,但我无法使其正常工作: var body = 'username=myusername?new Headers(); body, {
浏览 101
提问于2016-02-05
得票数 94
回答已采纳
1
回答
angular
$
http
post
:无法获取请求
参数
javascript
、
mysql
、
angularjs
、
node.js
、
angular-http
使用
angular
节点和mysql创建crud应用程序 console.log(productCategoryId); }); 以下是
浏览 3
提问于2015-05-31
得票数 0
1
回答
Angular
$
http
post
to WCF service null
参数
c#
、
json
、
wcf
、
angularjs
、
firefox
我有一个简单的
angular
js应用。我有一个简单的身份验证方法。在internet explorer中执行该方法时,WCF方法接收带有数据的
参数
。当从firefox执行ame代码时,服务器上的
参数
为空。$
http
({ method: "
POST
", 'Content-Type': 'application/json; charset
http
:&
浏览 0
提问于2014-04-18
得票数 1
1
回答
不返回XML的角$
http
.
post
javascript
、
angularjs
: function (hxr, status, errorThrown){ }然而,当我尝试使用
angular
的$
http
服务时,我没有得到任何回报:.controller('TestController', function($scope, $
http
){
angular
.module(&
浏览 1
提问于2015-03-16
得票数 0
回答已采纳
1
回答
Spring Security看不到
Angular
传递的凭据
angular
、
spring-security
、
authorization
当我从
angular
发出
post
请求时,spring不能识别'username‘和'password’属性。当我从邮递员那里发出投递请求时,它起作用了。我已经尝试了许多
post
请求的配置,但都不起作用。withUser("a").password("a").roles("*"); protected void configure(HttpSecurity
http
) throws Except
浏览 20
提问于2019-05-15
得票数 0
2
回答
Angular
2
Http
POST
标头
参数
类型错误
angular
、
http
、
header
这个服务应该对我的PHP后端api执行
HTTP
请求,但是ng2不会编译这个项目,它会引发以下错误: import { HttpModule } from '@
angular
/
http
'; import { Injectable } from &
浏览 1
提问于2017-07-08
得票数 2
1
回答
带有角型ui -路由器请求
参数
的自定义可共享和可书签的url
angularjs
、
node.js
、
mongodb
、
express
、
angular-ui-router
因此,我希望传递请求
参数
来动态生成url,以便从我的节点服务器获取和更新数据。AngularJS $
http
.
post
('/getPropertyData',data).success(函数(数据,状态){$scope.parseData(数据);});.state('listProperties',{ url:'/listProperties
浏览 4
提问于2016-07-19
得票数 0
回答已采纳
2
回答
$
http
-角
post
参数
和从PHP中获取json
php
、
json
、
angularjs
、
http
我不能得到的是following_ $
http
呼叫: method: '
POST
', data: parametres,at r
浏览 0
提问于2014-06-10
得票数 4
5
回答
如何在角2中将头设置为application/json
angular
、
typescript
、
post
、
header
我试图在Range2中发送
HTTP
请求,但无法将头设置为内容类型应用程序JSON。_
http
.
post
(url,JSON.stringify(postdata),this.headers)} 当我签入网络时,我发现Content-Type
浏览 2
提问于2017-05-16
得票数 3
回答已采纳
1
回答
Angular
4/ Laravel .subscribe()将不会执行
javascript
、
laravel
、
angular
login()函数将由我的
Angular
表单的submit按钮调用。如果我提交我的表单,就会出现错误。请看下面的.catch行...error调用"Server Error“ return this.
http
.
post
浏览 3
提问于2017-08-28
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
AngularJs与服务器交互利用$http进行通信
HTTP中Get与Post的区别
RESTful API教程:学习关键的Web服务设计原则
Python 爬虫实战案例
python爬虫实战案例,爬取爱奇艺VIP视频!
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券