Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Created Issue: HttpSelfHostServer Controller with post() method gets 405 [747]

$
0
0
... response in Fiddler.

I have:

public class TestController : ApiController
{
public string Post(string value)
{
return value;
}
}

when I configure using HttpSelfHostServer and try to get the value back via the controller, I get an Http 405 error of "{"Message":"The requested resource does not support http method 'POST'."}"

Any ideas of what can be tried?
Any examples of a working Self Host configuration that I can utilize?

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>