rest-assured
rest-assured copied to clipboard
HTTP PATCH method does not support query parameters properly
When using PATCH operation that has query parameters as part of the query string (e.g. .../api/v1/test?paramName1=paramValue1), the query string parameters are not being passed to the underlying HTTP client.
The same URL syntax does work with POST\PUT commands.
Using the queryParam(...) method to pass the query string parameters does not work as well. The only workaround that works is passing (paramName1, paramValue1) in the parameter(...) method.
I experienced the same issue with version 3.1.0. However, even when I use the deprecated parameter(...) method (or any other param... method) it still won't work.
And on top of it there is lots of confusion when using given().log().all() or given().log().uri() because they tell you, that the parameter is suppose to be there.
Can someone please help us out here?
Sounds like a bug. Perhaps you could help out and provide a PR?
checked with version 3.3.0, still won't work
It still doesn't work on version 4.1.2
still doesn't work on version 4.3.0 :unamused:
for me it doesn't work on 4.4.0
.. doesn't work on version 5.3.1