Replies: 1 comment 4 replies
-
I think we can mention the partial query param in the await spec()
.get(endpointUsers + '?refresh')
.expectStatus(200)
.toss(); |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I want to pass a boolean query parameter to a GET request like:
http://localhost/api/users?refresh
that is, without passing a value to the query parameter, I should do this:That call generates the following GET:
http://localhost/api/users?refresh=
Do you think could be a good idea to modify
.withQueryParams()
to accept the key only and generate the original GET? I know, it is a minor feature, but cost almost nothing to implement.Thanks for considering!
mario
Beta Was this translation helpful? Give feedback.
All reactions