Currently when we sent a payload with POST and PUT requests then the name of the fields in the payload should be exactly like the fields in the request class e.g:
{
"Id": 122,
"Name": "Ahmed",
"Age": 22
}
If we sent a request with a payload whose fields names start with small case letters then the values will not be binded
{
"id": 122,
"name": "Ahmed",
"age": 22
}
Solution:
The binding should work irrespective of the casing of the letters and Aspnet core also offers that feature.