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: image

Why is it not a Post request?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 20 (20 by maintainers)

Most upvoted comments

Microsoft.AspNet.* โ€” ASP.NET Microsoft.AspNetCore.* โ€” ASP.NET Core

The first two sentences on that page clearly state:

This document is for the ASP.NET Web API. If youโ€™re interested in ASP.NET Core, see the ASP.NET Core documentation.