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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

POST request with tRestClient

Hello,

 

il have to call a webservice with tRestClient using form type.

 

I test with a curl and it works 

 

curl -u xxxx:xxxx https://urltocall.com - X POST -F file_name=toto.xml -F file_content=@/tmp/FluxPESContratinitial.xml

 

My problem is to send all the content xml with a tRestClient.

 

Is it possible to do the same thing with a tRestClient?

 

0683p000009LzzW.jpg0683p000009M02K.jpg

 

Thanks for your answers 

 

Regards

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello,

If you want to pass directly the xml file as request to the web service when calling, read the root element as a node.

Please see my screenshot.

0683p000009M07F.png

Let us know if it is OK with you.

Best regards

Sabrina

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hello,

If you want to pass directly the xml file as request to the web service when calling, read the root element as a node.

Please see my screenshot.

0683p000009M07F.png

Let us know if it is OK with you.

Best regards

Sabrina

Anonymous
Not applicable
Author

Thanks for your reply it works fine