Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
microstratege
Contributor
Contributor

How to use tRestClient that needs a file as Input?

Hi all,

I found some questions and answers regarding tRestClient, but the given solutions didn't help. I want to call an Rest service that expects a file as Input and beside autentication (username, password) one additional query parameter. Calling from Postman was successful. I used the tFileInputXML-component and wants to combine it with the tRestClient. In most "variations" it results in an unsupported media type (415) error.

In tFileInputXML, I defined the root in the loop XPathQuery and in the mapping all needed columns from the file. I also tried (found in one of the answers here) to define in the mapping just the body with XPath= ".", but the result was the same.

Any idea for a solution?

Labels (4)
0 Replies