-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: HTTP post transform bad request #2917
Comments
Hi @vitalijs1 |
I can confirm the problem. Until 2.2 I can send a POST request with HTTP POST. After that, until now (2.5) I can't. If I use the Rest Client transform instead, I'm able to send my POST request again. I'm sending the request to a report-server, that expects the following json body: {"submit":"submit", content-type json, that's it. The body and content-type remains the same in rest client transform. |
.take-issue |
This was probably caused by enabling multipart on the data transfers, I changed this into an option this should resemble the old way of posting the requests more. It would be great if you could test this and provide feedback |
Yeah sure. I will give you feedback, as soon as the new snapshot is out :) |
add option to enable/disable multipart data requests, fixes #2917
Apache Hop version?
2.4.0
Java version?
java.version=11.0.10
Operating system
Windows
What happened?
there is one HTTP post transform that works fine in hop 2.1.0
but in version 2.4.0 it throws an error 500 "Internal Server error"
checked that Request entity field for api URL is the same in both versions
test hop pipeline attached:
getSessionId.zip
Issue Priority
Priority: 1
Issue Component
Component: Actions, Component: API, Component: Hop Run, Component: Transforms
The text was updated successfully, but these errors were encountered: