Hello, the situation is that I am testing a controller from this application, I am working with an api, asp.net core and entity frame, the thing is that I do not connect the vue.js with the asp, so I am testing the controller from this application.
I have been trying to send the data to the controller but it gives me a data error in the "idUsuario" section = {"errors":{"":["Error converting value \"IdUsuario\" to type 'SMAD_WEB.Modelos.UsuarioModelo.UsuarioViewModel'. Path '', line 1, position 12."]},"title":"One or more validation errors occurred.","status":400,"traceId":"80000166-0006-ff00-b63f-84710c7967bb"}
all the gesture, controller, model, and data, is in int, but at the time of sending it, it tells me that it cannot connect it
"IdUsuario" : 504100637,
" NomUsuario ": "wilberth",
"' EmailUsuario "' : "wil@gmail.com",
"contrasena" : "1234"
"Rol": 1
In this way I send it, will it be that it is badly sent, can anyone tell me how to save it?