How do I create a custom verb for an ASP.NET Web API?

65 Views Asked by At

My original problem is that my GET request was being rejected for the parameters being too long. So I thought, oh I'll just POST the parameter that's getting too long.

Well that doesn't work because that parameter is [FromUri]. So then I thought I'll just add some verb for this specific instance, but I can't figure out how.

The question is, how would I create a verb, let's say FOO, that works the same as GET?

0

There are 0 best solutions below