简体   繁体   中英

Java upload file with multipart / form-data and authentication

With Talend Open Studio I have to upload a file to a WebService with multipart / form-data. There is no standard object in talend to do this POST call, so I'm trying to do it via Java (tJavaRow), but can't find a solution. The WS has basic authentication. Can someone help me?

Thanks, Diego

Would you mind going through the below URL's for tRest and tRestclient components in Talend, you could implement all methods in web services.

https://help.talend.com/reader/rQsosxHOgaPa8zBCi83PLA/T~lWgeKbmUvwzc6QDx301w https://help.talend.com/reader/7NvFnkWpbH8Gy3Rm6mUXnw/ECeCwoP1aVopmhqJe_dENA

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM