Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there
I'm completely new to TALEND and I'm using Talend Open Studio for ESB to try to build a REST service with a POST method to receive simple data in CSV format. I have been playing around with the tRESTREQUEST component and I saw that I had to define an output flow named body with type document, but I can't find a way to configure content-type to text/csv and I keep getting a 415 Unsupported Media Type error message.
Maybe I should use a different component?
Any help will be appreciated.
Hello,
Rest service usually expect JSON or XML payload, what you have here instead is the query string in the payload.
You could try this solution:route.
cHttp (as server) can perfectly handle incoming data and transfer it to cTalendJob.
Best regards
Sabrina