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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Performing a GET request with a payload/body using TRestClient

Greetings!

 

I wanted to know if anyone can confirm whether it is possible to perform an http Get request using a tRestClient that has a payload. I am trying to call an API which uses a Get method, but requires 5 fields and associated values to be sent through in the payload for the request. When running the job (i have tested this using multiple design strategies) I am receiving a "the browser (or proxy) sent a request that this server could not understand" response and noticed in a trace that there is no payload field being sent through the RestClient component, even though this payload is being mapped to the string field of its input schema, as one would do for a Post of json data. Can anyone confirm whether this is possible? I know that conventionally, Get requests do not typically have a payload as this method is far better suited to a Post, unfortunately the API I am calling only accepts a Get request.

 

Warm Regards,

Elune

Labels (4)
0 Replies