Skip to content

Http declarative client not taking the url specified from config when query parameters are involved #11641

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

Open
srinunagulapalli opened this issue Mar 3, 2025 · 2 comments

Comments

@srinunagulapalli
Copy link

We have observed that, when we are using a declarative client that has query parameters, the url path for the service specified in the config for url is taking into account the substring only till the second / and not the full url path specified while this is taking in the full url path when there are no query parameters involved.

In the cases where it is not taking the full url path, we had to break the url path specified in the url to url and path having the values of the host and context path respectively for it to form the full url.

Can you please let us know when we can use the full url path in the url in the config and when we have to break it into url and path if this is the expected behavior?

@yawkat
Copy link
Member

yawkat commented Mar 3, 2025

Can you show an example

@srinunagulapalli
Copy link
Author

srinunagulapalli commented Mar 3, 2025

You can refer to this repository clienturldemo.
Please refer to README for reproducing the issue

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

No branches or pull requests

2 participants