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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
thrichter
Contributor
Contributor

HTTP POST with JSON

Moin,

 

I want to http-post some parsed data to a REST API.
It is formatet with tWriteJSONField.
The input row has now only one column 'Body'.

With tHttpRequest I can't do:

  • use row.Body as URI part
  • put it in "Post parameters from file" (because it is in no file ..)

--> The body is always empty.

The tREST component doesn't accept any input.

And with tRESTClient the body is also always empty.

 

So how to post data to a API?

 

Labels (1)
1 Solution

Accepted Solutions
nfz11
Creator III
Creator III

tRestClient reads its POST body data from the 'string' variable.  Put your json in there and it should work.

View solution in original post

1 Reply
nfz11
Creator III
Creator III

tRestClient reads its POST body data from the 'string' variable.  Put your json in there and it should work.