Authenticating with an HTTP header
You can use a custom HTTP header to authenticate requests. This header contains the user name to be presented to the Qlik Sense Repository Service (QRS) API. In this case, you must send requests via the proxy server URL. When you use this method to authenticate, requests to the API can be performed on the Qlik Sense server or remotely. You must set up a virtual proxy in the Qlik Management Console to receive the user name via an HTTP header.
See the Qlik Sense Developer Online Help for details: API reference > Qlik Sense Repository Service API > Authenticating requests
Step 1: Create new connection (REST)
Step 2: Add your URL
When communicating via the proxy service, the URL is as follows by default (but it may be adjusted depending on the configuration of the server):
https://< QRS machine name >/<path>
Step 3: Authentication Schema
To connect to and use the Qlik Sense Repository Service (QRS) API, the calls must be authenticated with a user with the required permission.
Step 4: Query parameters
-- For this value you need to include a xrfkey which is an arbitrary 16 character alphanumeric string
Step 6: Query headers
- that we need to include the same key as above
- the hdr key is based on the Header used in the Header authentication Virtual Proxy. This key is arbitrary to inspect your Header virtual proxy to find the expected value
- the username needs to be in UserDirectory\UserID format which refers to a user in your Qlik Sense environment