Change line 1848 from POST to GET
This commit is contained in:
2
samy.ps1
2
samy.ps1
@@ -1845,7 +1845,7 @@ function Get-SamyClientListFromServer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$resp = Invoke-RestMethod -Uri $Uri `
|
$resp = Invoke-RestMethod -Uri $Uri `
|
||||||
-Method Post `
|
-Method Get `
|
||||||
-Headers $headers `
|
-Headers $headers `
|
||||||
-ContentType 'application/json' `
|
-ContentType 'application/json' `
|
||||||
-ErrorAction Stop
|
-ErrorAction Stop
|
||||||
|
|||||||
Reference in New Issue
Block a user