API call in powershell script
xxxxxxxxxx
# Set URL
$url = "[API_URL]"
# Set body (client id and secret for example)
$body = @{
client_id = "[CLIENT_ID]"
client_secret = "[CLIENT_SECRET]"
}
#Get response
$response = Invoke-RestMethod -Uri $url -Method "GET" -Body $body