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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Unable to set body in tRestClient POST

I'm converting from a CSV (filedelim) file to JSON and then POSTing to an API. The POST is happening but the body appears blank. 

 

Any thoughts?

Labels (3)
1 Reply
Jesperrekuh
Specialist
Specialist

Did you set your header(s) correctly
if you have binary (non-alphanumeric) data (or a significantly sized payload) to transmit, use multipart/form-data. Otherwise, use application/x-www-form-urlencoded
Set query parameter variable with the json string value it results in a url http://www.yours.com/sub/url/?variable=yourJsonString