Relative Content

Tag Archive for c#apientity-framework.net-coreendpoint

ASP .NET core API error code 400 when trying to do a PUT

I have a .Net API with EF core, i generated the endpoints automatically from the models. Now i have a problem with the put method. when i send my model to the API i get a error 500 response back, when i try it within Swaggers i get an error 400 response. I feel that there’s something wrong with the way i setup my models but i can’t figure out what it exactly is.