question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HttpVerbs not being used

See original GitHub issue
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?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (20 by maintainers)

github_iconTop GitHub Comments

2reactions
acjhcommented, Aug 8, 2018

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.

1reaction
malimingcommented, Aug 8, 2018
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found