Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi..
I need to upload the word document with some metadata to the server. I am using tRestClient component
I got this error
|statusCode|body|string |
|=---------+----+---------------------------------------------------------------------------------------------------------------------------------=|
|200 |null|{"responseStatus":"FAILURE","errors":[{"type":"METHOD_NOT_SUPPORTED","message":"The current request is not a multipart request"}]}|
How to solve it..??
Is any other component available to pass content-type:multipart/form-data in talend??
Waiting for your valuable comments...!!
Thank you chirgal.
In tRestClient , I just changed the content type as JSON. The file got uploaded successfully...
Vignesh can you put a screenshot of this ? Because i try to post a picture and an email in a post but i didn't succeeded.
Hi @vigneshmahendra vigneshmahendra I have same scenario, https://community.talend.com/s/question/0D55b00007bMz8vCAC/how-we-can-upload-jpg-with-trestclient-component
I want to upload .jpg with talend.
I am able to upload .jpg with postman but confusion in talend
Could you please help me
Appreciate your help.
Thanks