-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
http status codes in impelementations #37
Comments
Nice idea, but as far as i understood, i could also throw an exception catched by the sicf handler and set the status there? |
not sure how that works, can you add an example? I'm sure others can use this, @JohannesKonings |
An example would be great. If I can set the http status code via an exception would be good for me. |
You could deliver an no check exception, zcx_swag_request_failure that imports code and response message. Catch it inside zcl_swag->run and manipulate mi_server->response |
somehow the method implementations should have a possibility to set the http status code?
The text was updated successfully, but these errors were encountered: