Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have an end point say:
$endpoint = 'https://myserver.com/api/odag/v1/links'
and I have certificates say:
$certificates = \\certifcates.dev.pfx
I am using:
$clientCert = Get-PfxCertificate $certificates
and then I am using:
$response = Invoke-RestMethod -Uri $endpoint -Method Get -Certificate $clientCert
What am I missing from the Invoke-RestMethod to get on the server. I know that the certificates work as they work the the qlik-cli, however I can not use the qlik CLI in my case.
The ultimate task is to write a function in PowerShell, that can get the odag link that has been create in on environment and deploy it in another
Hi,
Below is the curl code for the same
curl -k -L --ntlm -H "User-Agent: Windows" -H "Cache-Control: no-cache" -u USERNAME:PASSWORD https://192.1681.251/healthapi/engine/healthcheck/