mirror of
https://github.com/jprdonnelly/qseow-scripts.git
synced 2025-12-19 17:17:04 -05:00
Simple Connect Test - Qlik-CLI
This commit is contained in:
6
qrs-api-headers.ps1
Normal file
6
qrs-api-headers.ps1
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
$hdrs = @{}
|
||||||
|
$hdrs.Add("X-Qlik-xrfkey","12345678qwertyui")
|
||||||
|
$hdrs.Add("X-Qlik-User","UserDirectory=jprdonnelly;UserId=justin")
|
||||||
|
$cert = Get-ChildItem -Path "Cert:\CurrentUser\My" | Where {$_.Subject -like '*QlikClient*'}
|
||||||
|
$url = "https://sense.browntown.local:4242/qrs/about?xrfkey=12345678qwertyui"
|
||||||
|
Invoke-RestMethod -Uri $url -Method Get -Headers $hdrs -Certificate $cert
|
||||||
Reference in New Issue
Block a user