Repository navigation
Idea: Add the QUERY verb to the constants.ts/implement across the app #10204
SummaryPlease add support for the HTTP The Use caseFor example, ASP.NET Core Minimal APIs can already handle the method using a custom method mapping: app.MapMethods("/weatherforecast", ["QUERY"], () =>
{
var forecast = Enumerable.Range(1, 5).Select(index =>
new WeatherForecast
(
DateOnly.FromDateTime(DateTime.Now.AddDays(index)),
Random.Shared.Next(-20, 55),
summaries[Random.Shared.Next(summaries.Length)]
))
.ToArray();
return forecast;
}); |
Replies: 1 comment 1 reply
|
Hi @kevsiraki, Thanks for sharing the detailed use case. The QUERY HTTP method is already available in Insomnia. Could you try upgrading to Insomnia 13.1.0 and test the QUERY method again? You should be able to select QUERY from the method dropdown, enter the required endpoint, and provide the request body as needed by your API. Let us know if you still experience any issues when sending the QUERY request after upgrading to 13.1.0. Thank you! |

Hi @kevsiraki,
Thanks for sharing the detailed use case.
The QUERY HTTP method is already available in Insomnia. Could you try upgrading to Insomnia 13.1.0 and test the QUERY method again?
You should be able to select QUERY from the method dropdown, enter the required endpoint, and provide the request body as needed by your API.
Let us know if you still experience any issues when sending the QUERY request after upgrading to 13.1.0.
Thank you!