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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to pass request payload in JSON format to REST client

Hi,
We are planning to automate REST API testing. Our REST API will use request payload in JSON format along with few request headers. Is there any way to pass the payload to REST web client. Below is the sample request payload format that we are using.
{  
  "searchType":"Search",
  "startIndex":0,
  "pageSize":1000,
  "types":,
  "indexName":"market",
  "sortField":"rank",
  "sortingOrder":"ASC",
  "fields":{  
 "reportkey":2536,
 "type":"c",
 "weekid":"201623",
 "market":"0",
 "categoryid":32
  },
  "resultFields":,
  "filterChains":,
  "resultFilterChainEnable":true,
  "ruleKey":"audienceFactor"
}
Labels (4)
1 Reply
Anonymous
Not applicable
Author

Hi,
Here is a TalendHelpCenter:tRESTClient component which is used to interact with RESTful Web service providers by sending HTTP and HTTPS requests using CXF (JAX-RS).
Please take a look at this component reference for details.
Best regards
Sabrina