Skip to content
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

[Feature Request]: Web Service Response HTTP Status Code #4692

Open
krug-ela opened this issue Dec 10, 2024 · 0 comments
Open

[Feature Request]: Web Service Response HTTP Status Code #4692

krug-ela opened this issue Dec 10, 2024 · 0 comments

Comments

@krug-ela
Copy link

What would you like to happen?

In a web service you can define the response body via the metadata configuration (output transform and output field):
https://hop.apache.org/manual/latest/hop-server/web-service.html
image

It would be a nice feature to be able to set the response HTTP status code as well in the same way.
Right now it returns 200 for every request.

I already took a look into the code and I think I found the line where the status code is set:

response.setStatus(HttpServletResponse.SC_OK);

Issue Priority

Priority: 2

Issue Component

Component: Hop Server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant