腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
3
回答
当POSTing
从
Powershell
输出时,
如何
解析
“内容”输出?
json
、
powershell
、
parsing
、
curl
、
post
我有这样
的
代码,它循环遍历本地驱动器上
的
一些
JSON
文件,并将它们发布到带有cURL
的
URL
中
: $tempFile = Get-Content $negativeTests[$i].PSPath
Invoke-WebRequest
-Uri https://
浏览 8
提问于2014-06-24
得票数 1
回答已采纳
2
回答
如何
发送带有-d参数
的
curl更新请求?
powershell
、
curl
、
box-api
我需要从
powershell
发送一个curl请求,使用寻求帮助(我正在查找名为Update User
的
部分,但我遇到了一些问题:应该更新用户名,但我得到:
Invoke-WebRequest
浏览 12
提问于2018-01-29
得票数 1
回答已采纳
1
回答
如何
在
PowerShell
窗口中提交curl请求
中
的
标头
powershell
、
http
、
curl
无法将"System.String“类型
的
”授权:承载“值转换为"System.Collections.IDictionary”类型
浏览 59
提问于2022-01-11
得票数 0
回答已采纳
2
回答
如何
利用
powershell
实现emailrep.io
json
、
powershell
、
curl
当我尝试使用
Powershell
在emailrep.io上执行curl命令时,我没有得到正确
的
输出。我尝试了以下三个命令,但是它们没有返回预期
的
输出,即正确格式化
的
JSON
:Invoke-RestMethod emailrep.io/bsheffield432@gmail.com
Invoke-WebRequest
emailrep.io/bsheffield432@gmai
浏览 0
提问于2019-08-07
得票数 1
回答已采纳
1
回答
将简单
的
curl数据请求转换为
powershell
invoke-webrequest
json
、
powershell
、
curl
将非常简单
的
Plaid curl数据请求转换为
powershell
invoke-webrequest
curl -X POST https://tartan.plaid.com/
中
尝试失败
的
原因 secret#
Invoke
浏览 17
提问于2017-07-09
得票数 3
1
回答
解析
来自Microsoft Graph API
的
响应
json
、
powershell
、
rest
、
graph
、
microsoft-graph-api
Invoke-RestMethod -Headers @{Authorization = "Bearer $($token.access_token)"} -Uri $apiUrl -Method Get现在我
的
问题是,
如何
才能轻松地访问其中
的
列表对象。做像这样
的
事情 foreach($option in $re
浏览 1
提问于2020-02-04
得票数 0
4
回答
如何
从
PowerShell
中
的
Invoke-WebRequest
中
解析
JSON
?
json
、
powershell
、
response
向使用自签名证书
的
服务器发送GET请求时: add-type @" using System.Security.Cryptography.X509Certificates}[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicyRa
浏览 71
提问于2016-06-11
得票数 39
回答已采纳
1
回答
如何
在
PowerShell
中发布到URL?
powershell
、
httprequest
我有一个Python脚本,它使用请求将本地文件发布到给定
的
URL:url = 'https://www.myWebsite.com/ext/ext/ext'with open(data) as test: headers = {'C
浏览 1
提问于2014-06-21
得票数 2
1
回答
有没有办法将API响应作为文件保存到本地计算机磁盘
sql
、
api
、
ssrs-2008
、
data-warehouse
、
dotnet-httpclient
不是很熟悉API,在互联网上没有得到太多
的
帮助。目前,要查看数据,我必须下载并使用HTTP客户端工具。我使用创建了授权令牌,并且可以使用GET请求在Postman控制台中看到Jason格式
的
数据。
浏览 22
提问于2019-11-06
得票数 0
2
回答
使用
PowerShell
脚本
中
的
托管标识
从
Azure密钥库读取机密
azure
、
powershell
、
azure-keyvault
我使用下面的链接
从
Azure Key Vault读取使用
PowerShell
脚本
中
的
托管标识
的
秘密。链接: $response =
Invoke-WebRequest
-Uri 'http://169.254.169.254/metadata/identity/oauth2$ArmToken = $content.access_token Write-Output $ArmToken
浏览 4
提问于2021-11-11
得票数 0
1
回答
在datatable
的
每一行上执行
Powershell
-
Invoke-Webrequest
powershell
我使用
powershell
代码
从
数据库
中
获取数据,然后遍历各行,使用ConvertTo-
Json
将行转换为
Json
,然后使用创建
的
JSON
体调用
Invoke-WebRequest
。我知道我可以这样做,在每一行
中
创建
JSON
: ($UserToUpdate.Tables[0].Rows | select $UserToUpdate.Tables[0].Columns.ColumnName) | ConvertTo-<e
浏览 1
提问于2017-10-18
得票数 0
1
回答
如何
从
HtmlWebResponseObject
解析
JSON
powershell
、
invoke-webrequest
下面是我用
PowerShell
编写
的
GET请求:Write-Host $registry 它将显示出这
浏览 1
提问于2020-09-29
得票数 1
回答已采纳
2
回答
如何
在没有调用-WebRequest
的
情况下在
Powershell
中发布.
json
文件?
powershell
我目前正在做
的
事情:如果可能的话,我正在寻找一种方法,可以在
Powershell
中发布这个相同
的
.
json
文件,而不用调用-WebRequest。这个新方法最好允许我获得服务器输出
的
内容,
浏览 0
提问于2014-06-26
得票数 3
1
回答
从
PowerShell
传递JavaScript参数值
javascript
、
powershell
基本上,我需要将结果
从
JavaScript传递给
PowerShell
。$ie = New-Object -ComObject 'internetExplorer.Application' $ie.Visible
浏览 0
提问于2019-07-25
得票数 1
1
回答
具有自定义cookie文件
的
PowerShell
中
的
Curl
powershell
、
batch-file
、
curl
以下curl命令在cmd
中
运行良好:
浏览 5
提问于2021-04-12
得票数 0
3
回答
将curl命令转换为
PowerShell
rest
、
powershell
、
curl
、
websense
有人有通过
PowerShell
使用Websense API
的
经验吗?我需要将curl命令(我已经开始工作)转换为
Powershell
,这样就可以编写脚本了。有人有什么有用
的
资源吗?我需要翻译
的
curl命令示例如下:curl -k -u <username>:<password> -X POST https://<ps_ip_address>:<port>/api/web/v1/c
浏览 0
提问于2018-10-31
得票数 2
1
回答
Powershell
正在接受REST错误响应
rest
、
powershell
、
error-handling
、
swallowed-exceptions
我在
PowerShell
中使用
Invoke-WebRequest
,每当我
的
请求被目标API端点确定为无效时,它显然会拒绝该请求,并返回一个类似于(400) Bad Request
的
HTTP错误代码,但它也包括错误
的
原因(由API供应商提供),但不会包含在
Powershell
的
日志
中
。我确认发回了详细
的
错误,因为我在PostMan中看到了它,供应商也确认了这一点。
Powershell
就是不想展示它。以下是我
的<
浏览 28
提问于2019-06-14
得票数 1
回答已采纳
1
回答
Powershell
调用-WebRequest返回对象数组,但是进程好像只有1
powershell
、
get
、
invoke-webrequest
$path = "https://api.statuspage.io/v1/pages/$page_id/$endpoint"问题是,当我尝试 Write-Host $i我得到了全部
的
目标。此外,没有办法运行类似的 $global:res = ConvertFrom-
Json
浏览 2
提问于2020-11-13
得票数 2
回答已采纳
2
回答
调用-WebRequest失败--使用GitHub api“
解析
json
问题”
json
、
powershell
、
curl
、
github
、
graphql
我正在尝试通过
powershell
与Graphql api进行通信。根据Github
的
说法,必须首先执行以下curl调用。POST -d " \ \"query\": \"query { viewer { login }}\" \" https://api.github.com/graphql 在
powershell
System.Collections.Generic.Dictionary[[String],[String]
浏览 0
提问于2018-02-08
得票数 5
回答已采纳
1
回答
如何
将Microsoft Graph Explorer
的
prefer = minimal头文件转换为
Powershell
的
Invoke-webrequest
?
microsoft-graph-api
如果我在
Invoke-Webrequest
中
编写
PowerShell
代码来最小化响应,
如何
转换"prefer=minimal“请求头?$Data =
Invoke-WebRequest
-Headers $authHeader -Uri $Url -Body $body -Method POST -UseBasicParsing -ContentType"application/
json
; charset=utf-8" -prefer "
浏览 11
提问于2019-06-07
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
PL/SQL中实现的解析JSON
如何从变平的世界中获益
大数据:从错误的角度出发 如何从数据中获得价值?
如何从繁多庞杂的数据中迅速找到目标?
如何使用Python从列表中删除指定的元素
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券