Hi Rest Assured team,
With the publication of RFC 10008 (The HTTP QUERY Method), HTTP now officially includes the QUERY request method.
It would be great if Rest Assured could provide first-class support similar to the existing methods:
given()
.contentType(ContentType.JSON)
.body(requestBody)
.when()
.query("/search")
.then()
.statusCode(200);
or
query("/search");
instead of requiring:
given()
.body(requestBody)
.request("QUERY", "/search");
Why?
- QUERY is now a standardized HTTP method (RFC 10008).
- Rest Assured already exposes convenience methods for other HTTP methods (get(), post(), put(), patch(), delete(), etc.).
- Native support would improve readability, discoverability, IDE auto-completion, and consistency with the existing API.
Since Rest Assured already supports arbitrary methods through request(String method, ...), adding dedicated query() overloads should be largely a convenience API while aligning with the latest HTTP standard.
Thanks for considering this enhancement!
Hi Rest Assured team,
With the publication of RFC 10008 (The HTTP QUERY Method), HTTP now officially includes the QUERY request method.
It would be great if Rest Assured could provide first-class support similar to the existing methods:
or
Why?
Since Rest Assured already supports arbitrary methods through request(String method, ...), adding dedicated query() overloads should be largely a convenience API while aligning with the latest HTTP standard.
Thanks for considering this enhancement!