I have been trying to create a GET connection. All the help documents tells that the Set Cookie will return three values. I get only two values in the Set Cookie field. When I use either of them in the subsequent call, I get a server error.
Any help will be appreciated.
This is very well documented process on community. I also wrote a post and attached very broad library of ready to use scripts in form of Subroutines bundled in qvs.
see here for more:
once you download NPrinting.qvs, at the very beginning you have all parameters which you need to place when creating your connection.
Thank you for this, really helpful, but my problems lies with the below string manipulation
Let vCookieRaw = Peek('Set-Cookie',0,'cookie_items');
Let vCookie = TextBetween('$(vCookieRaw)','Secure,','Path=/',2);
My session cookie returns only two cookie value. If i changed to TextBetween('$(vCookieRaw)','Secure,','Path=/',1), I get a cookie value, but the server returns an error when I try to send the call
below is the vCookieRaw value I get
There is a possibility that if you are still seeing issues, that you may need to update your QS server to April 2019 release.
There have been issues with the rest connector in some prior versions of QS.
QS rest connector 2.11 contains the latest fixes and this version is found in the April 2019 release of Qlik Sense.
We are upgrading only next year. But for now, I installed REST for Qlikview , used Qlikview to Get the data from nPrinting and read the data into Qliksense.
not a better solution, but till we get upgraded, this works for us.