Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Oct 26, 2022 10:32:16 AM
Jan 24, 2018 9:52:52 AM
This article will outline how to connect to Qlik Sense's APIs using the desktop app version of Postman. The desktop app is a standalone application whereas the Chrome Extension version is being deprecated. For insight into configuring the Chrome Extension, see article QRS API using Xrfkey header in Postman Chrome Extension.
Environments:
This is great!!
thank you very much 🕺
@Andre_Sostizzo The postman desktop app is slightly updated, getting an error with the current steps.
This is the error - Error: error:0900006e:PEM routines:OPENSSL_internal:NO_START_LINE
I am getting the same error as Shukla. @Andre_Sostizzo / @gal_polak / @pshukla3 , Can you please help?
I exported in the PEM format and followed all steps, but I am getting the following error now:
Error: connect ETIMEDOUT 167.219.19.251:4242
@pshukla3 , looks like you may need to convert your pfx to pem. see https://community.postman.com/t/errorpem-routinesno-start-line/6108/2
@subramani_r , I would test this with Postman on the QS server itself to make sure you don't have a network restriction between the server and your computer. Also would make sure the correct server FQDN is used in your request.
@Andre_Sostizzo , Thanks for the response. Can you please clarify as to what you mean by testing postman on the QS server itself? Should I install postman on the same server where QS enterprise is installed?
I am using the correct server FQDN, but its still not working. I am able to access the Qliksense environment on my browser but not able to do that through postman by following the steps given in the above description. Can you please suggest me any other way to fix this?
Thanks for your example, it worked for me exporting certificates from QMC.
I'd like to ask if Postman can be used for obtaining the script of each app. I mean, now I have a list of apps and for each one I'd like to open it and obtain its script. Is that possible? or I have to use solutions like QlikSense.NetSDK (.Net) or Enigma.js(Java Script).
Thanks in advance
@LDR , tagging @Levi_Turner who may have feedback.
Hello there @LDR ,
I was trying to find a similar answer (get the script of an app without opening the app in Hub) via Postman, but the only easy way I found was via 'Engine API Explorer ' (URL: Engine API Explorer ‒ Qlik Sense for developers).
In order to use this tool please follow the steps below:
1.) Open one of the following URLs:
- from a point that can access the QS Server
https://<QS_SERVER>/dev-hub/engine-api-explorer
- from inside the QS Server
https://localhost/dev-hub/engine-api-explorer
2.) Login with your RootAdmin account.
3.) Click 'Connect to engine' button.
4.) Select an app from the drop-down list.
5.) From the 'Select API calls' please choose 'Doc' > 'GetScript' method.
6.) Clik the 'Execute' button and the result will appear in the 'Execution logs' > 'GetScript' > 'Response'.
7.) Get the line starting with 'qScript'.
Bear in the mind that the script will appear in a single line, so you will need to replace '\r\n' characters with new lines (Notepad++ Solution: Search for '\\r\\n' and replace it with '\r\n' in 'Extended mode'). Finally, each tab code segment starts with '///$tab ' (Example: ///$tab Main).
I hope this approach will help you temporarily until you find something similar by Postman.
BR,
iLiAs
Hi @ifytra
First at all thanks for your answer 😉
Yep, my first step was "Dev Hub" and then I tried to find the right way to get the same info externally. Then I was checking Qlik APIs, finally thanks to this amazing community I learnt:
Maybe my latin blood played a dirty trick on me 😂, cause I started to try this and that without reading in detail the documentation that Qlik is sharing. Anyway, I think that now I know the path to follow.
Best regards