The server you are calling is telling you that the post method is not allowed for the url you are trying to call. Asked 6 years, 10 months ago modified 5 years, 7 months ago viewed 23k times By passing in the path portion of your url as the request object data parameter.
Top 5 Hidden Home Hazards CPSC.gov
As this ver having null service is send status as 204 no content. This is happening with all the get endpoints. Why is this asp.net core post request returning 405 (method not allowed)?
1 hey, i had this problem as well and this is the only solution i found to work (without hacking the 405 page) i'm going to assume the problem is with a post request.
405 method not allowed on [specific endpoint] in.net 8 web api asked 1 year ago modified 1 year ago viewed 638 times In above code variable ver is assign to null, print ver before returning and see the value.