Wolverine.HTTP Learns the QUERY Verb
Read OriginalThis article introduces the new [WolverineQuery] attribute in Wolverine.HTTP 6.17.0, which adds support for the HTTP QUERY method (RFC 10008). It explains the tension between GET (safe/idempotent but no body) and POST (body but not safe/idempotent) for search endpoints with complex criteria. The QUERY method resolves this by being both safe/idempotent and allowing a request body. The feature is implemented as a single attribute alongside existing verb attributes, with no new configuration needed. The article includes a complete code example and discusses middleware behavior, noting that middleware rules are dependency-based rather than verb-based, supporting messaging within QUERY endpoints despite potential design concerns.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet