腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
Invoke-WebRequest
、
POST
方法
格式
问题
powershell
、
api
、
post
我正在尝试创建一个脚本,以便向我需要使用的应用程序接口发出一些
Post
请求,并且在理解如何与PowerShell一起工作时遇到一些
问题
。我开始使用postman中的应用程序接口,因为我的请求可以工作,但我认为我在如何将其
格式
化为PowerShell方面遗漏了一些东西: 这是我的PowerShell: $body = @{"password"="<password>" "id"="1"
浏览 67
提问于2020-09-30
得票数 0
回答已采纳
1
回答
将简单的curl数据请求转换为powershell
invoke-webrequest
json
、
powershell
、
curl
将非常简单的Plaid curl数据请求转换为powershell
invoke-webrequest
curl -X
POST
https://tartan.plaid.com/secret-value" } #
Invoke-WebRequest
-uri &
浏览 17
提问于2017-07-09
得票数 3
1
回答
是否为Powershell帖子正确设置JSON
格式
?(散列文字中键后缺少'=‘运算符。)
powershell
、
webrequest
我正在尝试使用Powershell来执行一些"
POST
“请求。但是,我似乎不能正确地
格式
化JSON。我该如何做到这一点呢?>> $JSON=@{name:"TestName"}>> $response =
Invoke-WebRequ
浏览 15
提问于2021-11-17
得票数 0
回答已采纳
2
回答
Powershell
Invoke-Webrequest
w/ JSON Body -无法反序列化...?
json
、
powershell
我需要执行一个带有特定
格式
化主体的
Invoke-Webrequest
,以便向产品添加设备。$url -Method
Post
-Headers $headers -Body $body_json - ... ++ CategoryInfo : InvalidOperation:(System.Net.HttpWebRequest:HttpWebRequest)
Invoke-WebRequest
,WebException + FullyQualifiedErrorId : WebCmdletWebResponseExcep
浏览 63
提问于2018-06-02
得票数 2
回答已采纳
1
回答
从CSV文件中读取数据,并将一箱数据转换为JSON
Invoke-WebRequest
json
、
csv
、
powershell
、
webrequest
在CSV文件中,有3列(
方法
、URL、主体),数据如下(inputdata.csv):{$full = "@" + $ServiceDetail.Body $Response =
Invoke-WebRequest
Method $Service
浏览 1
提问于2016-01-15
得票数 1
1
回答
Powershell的
问题
-使用Invoke Web请求发送数据
php
、
powershell
我有个
问题
。我正在测试各种通信渠道。 我使用powershell向服务器发送了一个
post
请求,php脚本在那里接收正文并在txt文件中覆盖它。 Php服务器端脚本: <?
Invoke-WebRequest
-Uri http://localhost/catch.php -Method
Post
-Body 'content' 当我尝试将命令结果放入我的主体并发送请求时,我看到: $ip = ipconfig
Invoke-WebRequest
-U
浏览 15
提问于2020-07-13
得票数 0
1
回答
如何使用Invoke-RestMethod从Powershell发布
powershell
、
powershell-3.0
、
invoke-restmethod
根据,我试图调用一个简单的
POST
方法
,但得到了一些错误。"simPass2"; Name = $machineName}我的错误是
Invoke-WebRequest
: Un
浏览 0
提问于2020-07-23
得票数 1
回答已采纳
1
回答
使用Powershell脚本调用WebRequest
powershell
[xml]$sun=
Invoke-WebRequest
-Uri $uri -CalculateTax
post
-ContentType "String" -InFile $Input.OuterXml其中,$uri是具有服务url的变量,CalculateTax是服务的
方法
,$Input是具有获取错误的XML内容的变量
Invoke-WebRequest
: A parameter cannot be+ [xml]$sun=
Invoke-WebRequest
-Uri $
浏览 14
提问于2014-01-16
得票数 2
回答已采纳
1
回答
如何在powershell中发布到canvas LMS
json
、
powershell
、
webrequest
、
canvas-lms
这里有两个例子,你能告诉我如何正确地
格式
化这个例子吗?######this is the first way I tried it and the error I get
Invoke-WebRequest
: {"message":"missing moduleparameter"}$reply = curl -Uri $temp2 -Method
Post
浏览 2
提问于2016-05-25
得票数 0
回答已采纳
0
回答
如何在powershell中正确使用
post
请求
powershell
、
webrequest
目前该公司给出的使用cURL的例子是:"https:GET/v1" -d 现在,我正尝试在powershell中使用
Invoke-WebReque
浏览 6
提问于2017-06-14
得票数 1
1
回答
2.0.0 ShutDown端点在使用
POST
请求调用时返回错误415
powershell
、
spring-boot
、
spring-boot-actuator
management.endpoints.web.exposure.include=shutdown通过PowerShell命令,我使用以下
方法
调用shutdown端点:
Invoke-WebRequest
-Uri $endPointUrl-Method
POST
I
浏览 0
提问于2018-07-25
得票数 1
回答已采纳
1
回答
NodeJS/Express: PUT和body解析器,body对象为空
node.js
、
express
、
put
、
body-parser
get(...).delete(...) console.log(req.body); console.log(req.body); 现在的
问题
是当我调用PowerShell curl -uri http://localhost:8080/api
浏览 4
提问于2016-03-02
得票数 0
回答已采纳
2
回答
Curl +调用RestMethod
windows
、
powershell
、
curl
、
blockchain
、
pycurl
它告诉我“在xyz上跑”PS C:\Users\sebt1>
Invoke-WebRequest
localhost:5000/txion“\ -H内容-Type: application/json”\ -d '{ .+ CategoryInfo: InvalidArgument:(:)
Invoke-WebRequest
浏览 0
提问于2019-03-07
得票数 1
1
回答
PowerShell调用-WebRequest获得403禁止,但工作正常,有一段时间
powershell
、
ip
、
webrequest
PS> (
Invoke-WebRequest
-uri "icanhazip.com").Content + (
Invoke-WebRequest
-uri "icanhazip.com").Content+ CategoryInfo : InvalidOperat
浏览 2
提问于2021-03-18
得票数 1
回答已采纳
2
回答
如何转义HTTP请求的等号?
powershell
、
http-post
在PowerShell中,我想称之为这样的东西:
Invoke-WebRequest
-Uri "http://localhost:3000/test" -Method
POST
-Body "`"a=`"&qu
浏览 8
提问于2015-09-23
得票数 0
回答已采纳
10
回答
Powershell v3
Invoke-WebRequest
HTTPS错误
.net
、
rest
、
powershell
、
https
使用Powershell v3的
Invoke-WebRequest
和Invoke-RestMethod,我已经成功地使用
POST
方法
将json文件发布到https网站。我使用的命令是
Invoke-WebRequest
IPADDRESS/resource -Credential $cred -certific
浏览 1
提问于2012-07-28
得票数 137
回答已采纳
1
回答
PowerShell错误:基础连接已关闭
powershell
、
webrequest
我正在尝试使用
Invoke-WebRequest
cmdlet (第一次)连接到Sharp打印机的web接口。-Uri ($url + $login.Forms[0].Action) ` ...but我一直收到这个错误:was closed unexpectedly.[0].Action) `
浏览 1
提问于2018-09-25
得票数 2
2
回答
ElasticSearch -如何按类型进行搜索?
elasticsearch
、
caching
、
elasticsearch-6
{ "type" : { }}'
Invoke-WebRequest
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [
Invoke-WebRequest
浏览 1
提问于2018-03-06
得票数 0
回答已采纳
1
回答
将JSON对象的输出
格式
设置为更易于阅读的
格式
json
、
powershell
$result =
Invoke-WebRequest
-Uri $uri -Headers $headers -Body $body -Method
POST
| Select-Object -ExpandPropertyContent 我希望“内容”的输出是一种更容易阅读的
格式
。
浏览 6
提问于2019-07-24
得票数 0
回答已采纳
4
回答
Invoke-WebRequest
,带参数的
POST
powershell
、
rest
我正在尝试
POST
到uri,并发送参数username=me如何使用
POST
方法
传递参数?
浏览 4
提问于2013-06-27
得票数 231
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
SD卡格式化恢复,3个方法解决问题!
jpg格式图片怎么弄?几种方法帮你解决问题。
怎么把图片转换pdf格式?三种方法帮你解决问题!
视频格式如何转换?三种转换方法帮助你解决问题
解决格式与扩展名不一致问题的方法与步骤
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券