Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
VladD
Contributor II
Contributor II

tRESTClient formdata API call with query params

I'm trying to call an API that accepts formdata with POST but also, it needs some query params in the URL. I can't figure out why is not working. My last attempt looks like this:

0695b00000q9cxcAAA.png

0695b00000q9cs3AAA.png

0695b00000q9cl0AAA.png

So, the problem here is that the body looks ok, as any FORMData should be and it is taken from what i added in the query params table. But if I'm trying to build my URI in order to also have some real query params, i can't figure out how to stop Talend from encoding the "?" charater in to %3F.

Talend Cloud Data Fabric version: R2022-04

Labels (4)
2 Replies
Anonymous
Not applicable

Hi

Why not just add the query parameters directly into the Query parameter table? If you add query parameters in the URL, the URI format looks like:

".....?parameterName1=value1&parameterName2=value2"

 

Regards

Shong

VladD
Contributor II
Contributor II
Author

is the same thing. But, because i couldn't find an elegant solution for this, I've added a PR to the tRestClient component on github, here: https://github.com/Talend/tesb-studio-se/pull/2091

I don't exactly know what is the contribution flow so if anyone knows what should i do please let me know.