3

Working on a C# ASP.net application backend.

I need to send it from front a simple object but the controller doesn't fill the object in backend.

Time to debug (for at least 2 hours) before seeing that I forgot to JSON.stringify the data before sending it to the API...

F*CK !

Comments
  • 1
    Add the attribute [FromBody] to the controller method parameter
Add Comment