Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All
I'm trying to download data via an API but it has parameter that I need to pass in variables.
So I instead of using the normal connection screens I scripted it in the load editor.
But now I'm getting the following error:
Here is my Code:
CUSTOM CONNECT TO "provider=QvRestConnector.exe;
url=https://test;
timeout=300;
method=GET;
autoDetectResponseType=true;
keyGenerationStrategy=0;
authSchema=Basic;
UserId=***;
Password=***;
skipServerCertificateValidation=false;
useCertificate=No;
certificateStoreLocation=LocalMachine;
addMissingQueryParametersToFinalRequest=false;
PaginationType=None;
allowResponseHeaders=false;
allowHttpsOnly=false;
from_date=01-06-2023;
toDate=01-07-2023;";
Here is the setup using the normal API Connector (This one is working):
Hi @BouwerQlik , if I understood correctly you have to pass a query param as dynamic value into your reload script, correct? If so, you have to set everything within connector editor (and you already did it seeing your screenshots) and then insert the script generated by the connector editor into your reload script.
After that, you can use the WITH CONNECTION option for changing query parameter with your variables. Here a guide on how to do this