Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have created a data connection in Qlik Sense using the REST connection. The purpose of the connection is to perform a "logout" to invalidate the login token. But the response from the REST API is without any content. Due to this, I cannot "execute" the API call in QS. (Since it require me to select something to generate the script)
What can I do?
Are you sure that the API call in the connection is working corretly? What does the documentation say it should return?
Try calling that same API endpoint with a tool such as Postman and examine the results. Compare it to another REST call you are performing and Qlik Sense and see what that returns. Then work your way up from there.
Hi,
I'm connecting to a BMC system using the REST API. Here is the documentation.
The response is HTTP/1.1 204 No Content.
I've tested it in Insonmia (similar REST client as Postman), and the API works. (The token will be released and cannot be used again for other API calls) Below is the result.
What about creating a call to an endpoint from the same API, then changing the created code to call to the endpoint you actually want to connect to, using sth. like
LIB CONNECT TO 'Invalidate Token';
RestConnectorMasterTable:
SQL SELECT
1 AS ReturnValue
FROM
JSON (wrap on) "root" PK "__KEY_root";