1 Pluspunkt 0 Minuspunkte
Wie kann ich mit Powershell eine HTTP GET Anfrage mit Header absenden?
bezieht sich auf eine Antwort auf: HTTP Request mit Powershell
von  

1 Antwort

0 Pluspunkte 0 Minuspunkte

Hier ist ein Beispiel.

$headers = @{
    "Authorization" = "Bearer AccessToken"
}
Invoke-RestMethod -Uri "http://example.com/" -Method Get -Headers $headers

von (706 Punkte)  
Powershell HTTP Request mit Datei