HttpVerbs not being used
See original GitHub issueusing Roject.Events.Dto;
using System.Web.Http;
namespace Roject.Events
{
public interface IEventsAppService
{
[HttpPost]
GetEventsForOwnerCalendarOutput GetEventsFor(GetEventsForInput input);
GetEventsForOwnerCalendarOutput GetEventsForOwnerCalendar(GetEventsForOwnerCalendarInput input);
}
}
There is no mention of Configuration.Modules.AbpWebApi()...
in my project - I am not modifying any of the normal functionality.
Yet Swagger:
Why is it not a Post request?
Issue Analytics
- State:
- Created 5 years ago
- Comments:20 (20 by maintainers)
Top Results From Across the Web
Why aren't the rest of the HTTP verbs used?
The HTML spec is a big culprit, only really allowing GET, POST and HEAD. They are getting used quite a bit though, but...
Read more >HTTP verb used is not allowed - Ozkary
HTTP verb used is not allowed When writing RESTful APIs, we often used the HTTP verbs to control our operations. Http Verb Description...
Read more >Unable to use DELETE, PUT or PATCH HTTP verbs with . ...
Cause. HTTP verb which is being used is not registered for a particular handler/file extension. Resolution. Connect to the Plesk server ...
Read more >Working With HTTP Verbs
A GET request is considered safe because as HTTP specifies, these requests are used only to read data and not change it.
Read more >Should HTTP Verbs Be Used Semantically?
My answer is simply: yes. ... If you respect the verbs in you classes in whatever programming language you use, it will also...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Microsoft.AspNet.*
— ASP.NETMicrosoft.AspNetCore.*
— ASP.NET CoreThe first two sentences on that page clearly state:
https://github.com/aspnetboilerplate/aspnetboilerplate/blob/bd417b5c90aad9396860ad487b1fe99089e75291/src/Abp.AspNetCore/AspNetCore/Mvc/Conventions/AbpAppServiceConvention.cs#L218-L233
There is no use of
HttpAtribute
here. So the special reason is that you can useHttpAtribute
on methods. 😅