Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
So we're trying to use the REST Connector to access a 3rd party API, and we need to send a custom cookie to each API request after login.
Obviously we can't do it using the REST Connector interface and we're trying to do it via the script like so:
RestConnectorMasterTable:
SQL SELECT
...
FROM JSON "_response_header" PK "__KEY__response_header"
WITH CONNECTION (
URL "https://api_url",
HTTPHEADER cookie "$(vCookie)"
)
;
But the cookie never gets set. Any suggestions on how to do this?
Thanks,
Edwin
An alternative to the Qlik REST Connector is to use "Qlik Web Connectors: General Web Connector":
According to the documentation it does support cookies. This connector has to be licensed on a yearly basis though - so it comes with an additional cost as it is a premium connector of the Qlik Web Connector collection not a standard free one.
Hy
Did you find a way to do it?