Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
i'm new to Qlik and i'm using QAA to access Public API end point. This is a very simple POST http request.
but when it runs, somehow the API Key block/component runs as GET http request.
here's the input (the method is submitted as "POST")
here's the output (the method is executed as GET). i did try for PUT request, and it is changed to GET in the runtime/execution.
if anyone has any clue/idea why it behaves this way, please kindly share a hint to me and it will be much appreciated. Thanks
Regards,
Indra
Hi @LauraLangenaken , @Madhushree_BP ,
I can confirm that when testing with qlik sense update automation endpoint the block executed the request as a get request instead of updating the name of my automation can you advise on this?
Thanks
Hi @indralimena
For the Raw API request blocks whenever there is an error the GET method is used all the time to display the error it's not that the wrong method is sent.
In your case, I see that it is saying 415, which means unsupported media type, can you add or verify the Content-Type?
Let me know if it works
Thanks!
Madhushree
Hi @indra,
Two things that i wonder:
1. Did you save the configurations before running the automation?
2. What happens if you try running with only one "Raw API Request" block? (Deleting the other one from the automation)
Hi @Shai_E,
yes, i saved the automation before execution.
And here's my test with only 1 Raw API Request block just now.
still the same issue (defined as POST, but executed as GET request)
Regards,
Indra Limena
Hi @LauraLangenaken , @Madhushree_BP ,
I can confirm that when testing with qlik sense update automation endpoint the block executed the request as a get request instead of updating the name of my automation can you advise on this?
Thanks
Hi @indralimena
For the Raw API request blocks whenever there is an error the GET method is used all the time to display the error it's not that the wrong method is sent.
In your case, I see that it is saying 415, which means unsupported media type, can you add or verify the Content-Type?
Let me know if it works
Thanks!
Madhushree
Thank you. you're spot on, "GET" on the output is the default response if any error on the http request.
i added http header, and it returns the result as per my expectation.
Thanks.
Regards,
Indra Limena