You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I leverage PS to download the info from (sample> PS> $token = 'xxxxxxxxxx'
PS> $params = @{
Uri = 'https://cat-fact.herokuapp.com/facts'
Headers = @{ 'Authorization' = "Bearer $token" }
Method = 'POST'
Body = $jsonSample
ContentType = 'application/json'
}
PS> Invoke-RestMethod @params
Using PowerShell and oAuth
FoxDeploy.com, Stephen Owen's technical blog about
PowerShell, Systems Administration, GUI Design and Programming.
.
https://www.foxdeploy.com/blog/using-powershell-and-oauth.html
The text was updated successfully, but these errors were encountered: