Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need to use tRestClient for a POST request using "multipart-form", but I fail to understand how to send multiple elements through "form" format.
I have this postman configuration working very well :
My body should contain :
How should I configure my body in order to sent both "Document" and "File[]" fields ? I managed to send only the "Document" one, but I don't know how to add the other in my t_XMLMap
Here are some screenshots of my job :
The first thing to try is to convert the XML to a String, create a file using Java, then convert the file to a byte array. Once this is done set the API parameter in your tRestClient using the Query Parameters box. Pass the byte array you have created as an Object.