I'm trying to call an API that I created, using Azure DevOps pipelines (yaml file), and in it I need to pass in the headers the Authorization with Bea ...
I'm trying to call an API that I created, using Azure DevOps pipelines (yaml file), and in it I need to pass in the headers the Authorization with Bea ...
I'm trying to copy Horizon application pools that exist on a source Horizon connection server (HCS) to another one. In my homelab that works perfectly ...
I'm writing a script to pull order details from an API using Invoke-RestMethod. I have the response which PS has converted json into a PSCustomObject. ...
I am using Powershell 7 to invoke-RestMethod on a JIRA insight API server version (non-cloud). While my invoke rest works like a charm, I am unsure ho ...
I'm trying to send different types of files to myself over my local network using PowerShell. I think I'm onto something with the command; But sadl ...
I have the following PowerShell scrip which reads an .xlsx input file from the file system and uploads it to a page in Confluence: It works to the ...
I have researched quite a bit and have not found any information how to get an access token from graph with Powershell via REST by using: TenantID ...
I am very confused. I'm used to in most programming languages to where referencing a property in the dot notation (e.g. $object.AProperty) is the exac ...
I have the following Json in the body of a Postman. what would be equivalent code in Powershell to send rest API via invoke-webrequest or via invoke-r ...
I'm a newbie at powershell/programming in general and currently attempting to update admin passwords on Chatsworth CPI PDUs. The PDUs are daisy-chaine ...
. Answers to this question are eligible for a +100 reputation bounty. X ...
I have a web server that responds to a request https://localhost/GetUpdateInfo with a body [{"ipAddress": "10.200.2.55"}] In postman its Work but in p ...
I'm trying to get data back from an API online using Powershell with the command Invoke-WebRequest -UseBasicParsing $request_string -Method Get -Heade ...
I am invoking an REST API to assemble a .csv with users of software products, but sometimes it got stuck on page 0 and providing the same information ...
I am trying to send a file via multipart formdata via invoke-restmethod. I don't have write permmision on the server but type filename works fine My c ...
I want to get the content of a web page and when I use $web = Invoke-RestMethod -Uri "https://inkscape.org/" I will get the content but when I use $ ...
I have a param section of a Invoke-RestMethod that i have to keep as is, but also add parameters: Since the entire Body is in single quotes, any $p ...
I am trying to sent a Rest API Call via PowerShell Invoke-RestMethod Cmdlet but I keep getting BAD REQUEST 400 response: RESPONSE I need to make t ...
I'm attempting to set tags via the SonarQube REST API, however, the REST API doesn't come with a lot of examples for different scenarios. In my case ...
I'm writing a PowerShell script to query an application API (Qualys), and the first step is to authenticate. I can only do it unsecurely: It works, ...