As this ver having null service is send status as 204 no content. 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.
What Doctors Don't Tell You The Truth About the Dangers of Modern
This is happening with all the get endpoints. 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.
The server you are calling is telling you that the post method is not allowed for the url you are trying to call.
By passing in the path portion of your url as the request object data parameter. Asked 6 years, 10 months ago modified 5 years, 7 months ago viewed 23k times