I'd like to upload a file to the /api/jsonws/dlapp/add-file-entry endpoint that Liferay provides using RestTemplate. I receive a file in a Jersey API and I'd like to pass that on to Liferay, but am unable to do so. I've tried following Sending Multipart File as POST parameters with RestTemplate requests with no luck.
Asked
Active
Viewed 402 times
3
-
What do you mean by "unable to do so" and "with no luck"? You don't know to call the API, or initialize the request parameters or you make a call and get an error? Please be more specific in the question. – Tomas Pinos Nov 13 '15 at 20:13