Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I use the QvRestConnector to access an internal REST Api. My script was originally developed to work with QvRestConnector v1.0, but now I need to upgrade it to work with QvRestConnector v1.2+.
Apparently, there were breaking changes: additional properties are now required in the connection or you get an 'QVX_UNEXPECTED_END_OF_DATA: The connection format is obsolete' error.
Can someone please explain how I would need to change a connection string like this to comply with the requirements:
CUSTOM CONNECT TO "Provider=QvRestConnector.exe;url=http://mywebserver/api/myWebMethod;timeout=30;method=POST;autoDetectResponseType=false;keyGenerationStrategy=-1;useWindowsAuthentication=false;useCertificate=No;certificateStoreLocation=CurrentUser;certificateStoreName=My;PaginationType=None;XUserId=userIdHash;XPassword=passwordHash;";
Thank you!
Hi,
You should recreate the connection using the REST connector dialog and the connection string will be automatically generated for you.
In case this is not possible, below is a connection string generated by the latest REST connector (v 2.11)
CUSTOM CONNECT TO "Provider=QvRestConnector.exe;url=https://postman-echo.com/post;timeout=30;method=POST;requestBody=Test POST body;httpProtocol=1.1;isKeepAlive=1;bodyEncoding=UTF-8;sendExpect100Continue=1;autoDetectResponseType=1;checkResponseTypeOnTestConnection=1;keyGenerationStrategy=0;authSchema=anonymous;skipServerCertificateValidation=0;useCertificate=No;certificateStoreLocation=CurrentUser;certificateStoreName=My;addMissingQueryParametersToFinalRequest=0;PaginationType=None;allowResponseHeaders=0;allowHttpsOnly=0;XUserId=WHGXecB;XPassword=NFHQWYA;";
Hope this helps.