我需要对网络服务器进行 POST 调用,该服务器正在验证 cookie 中的用户类型,我不知道如何将此 cookie 添加到我的请求中。
$eth_config = Invoke-RestMethod -Method 'Post' -Uri $network_settings_url -Body $request_body
cookies powershell invoke-restmethod
cookies ×1
invoke-restmethod ×1
powershell ×1