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]: Rest Client - Add Custom Methods #4770

Open
steewel opened this issue Jan 9, 2025 · 0 comments
Open

[Feature Request]: Rest Client - Add Custom Methods #4770

steewel opened this issue Jan 9, 2025 · 0 comments

Comments

@steewel
Copy link

steewel commented Jan 9, 2025

What would you like to happen?

Will be great to have a native support to use custom HTTP Methods over the REST Client transform.

When using the existing option Method field name passing LIST as Method, an exception is raised.

org.apache.hop.core.exception.HopException: 
Can not read result from [ENDPONT]
Request could not be processed
Method [LIST] is unknown! The supported methods are :
GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS

To workaround this today you need to handle those API calls outside of Apache Hop using the Execute a Process transform, which is not ideal and brings some others issues when developing and deploy to different OS (Windows to Linux).

I don't know what are the actual limitations and why it can't handle the request, but if we can pass the Method as field, I thought it would be possible to receive any method your endpoint expect you to use, not just the dafault set.

Issue Priority

Priority: 3

Issue Component

Component: Transforms

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