-
Notifications
You must be signed in to change notification settings - Fork 2k
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
query parameters not available when invalid url #8498
Comments
Hi @arthurvanl , in the previous thread, you mentioned that you would like to manipulate query params even the url is not incompleted. I guess we might be able to provide this capability. But as you know, sometimes the url could be unstandard or incomplete then it can't be parsed correctly, which also includes query params in the url. This may introduce some unreliable factors. I notice that you've detected several alternative solutions such as path parameters. Based on the potential unreliable reason I mentioned above, I'm thinking if the parsing invalid url solution is the optimal one for your case or there could be some other better approaches? |
Hi @ihexxa We could easily solve this issue if the queryParameters could be get the same as pathParameters. I think we should store the query params apart from the url, same as path params does. |
Awesome. |
Why can it not be exposed before the url is validated? |
This is true, Postman is able to parse this case, but the problem is it doesn't work well for some other invalid ones, for example, |
Well because of this problem I have to switch back to postman. Would be awesome if a fix comes to replace this problem. |
Will check and reopen this thread if there's a a better solution. |
I do not get the query parameters when invalid url.
Code used:
The text was updated successfully, but these errors were encountered: