Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to run a Qlik replicate task using curl command. But I am getting error while obtaining SESSION ID. Can someone please post an example of obtaining session id and running a qlik replicate task using curl command.
Hi Suresh, It worked! Issue was with the domain. Thank you!
Hello Team,
Using Qlik Enterprise Manger API, you can run curl commands.
Refer: Login | Qlik Enterprise Manager Help
Regards,
Suresh
Hello team,
Please do check with the below link for running a task using API
https://help.qlik.com/en-US/enterprise-manager/November2022/pdf/Enterprise-Manager-API-Guide.pdf
page-89
Regards,
Shivananda
Thanks Suresh and Shivananda!
While running curl command for running the task, I am getting the error "HTTP Error 400. The request has an invalid header name"
Hello Anil,
use 64base encode to encode user and password
For example
user: abc
domain: qliktech.com
password: 1234567890
1. Use base64 tool to encode abc@qliktech.com:1234567890. Following code will be generated.
YWJjQHFsaWt0ZWNoLmNvbToxMjM0NTY3ODkw
2. curl -i -k --header "Authorization: Basic YWJjQHFsaWt0ZWNoLmNvbToxMjM0NTY3ODkw" https://your_server/attunityenterprisemanager/api/V1/login
Regards.
Suresh
Sorry for the delay to reply. Was out of town! I tried accessing session id and I am getting the response
307 Temporary Redirect
and it's not displaying EnterpriseManager.APISessionID.
Can you please let me know what could be the problem?
Hello Anil,
Please open a support ticket with us to analyze further.
Regards,
Suresh
Hi Suresh, It worked! Issue was with the domain. Thank you!
Hello Anil,
Glad to hear that it worked, Please "Accept as Solution" if possible.
Regards,
Suresh