小编Cle*_*540的帖子

将 cookie 添加到 InvokeRest-Method Powershell

我需要对网络服务器进行 POST 调用,该服务器正在验证 cookie 中的用户类型,我不知道如何将此 cookie 添加到我的请求中。

$eth_config = Invoke-RestMethod -Method 'Post' -Uri $network_settings_url -Body $request_body  
Run Code Online (Sandbox Code Playgroud)

cookies powershell invoke-restmethod

4
推荐指数
1
解决办法
7463
查看次数

标签 统计

cookies ×1

invoke-restmethod ×1

powershell ×1