aspnetboilerplate: HttpVerbs not being used
using 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?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 20 (20 by maintainers)
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. ๐