Hi .. I used your hybrid with .net core 2.0 it does not read from request body which is sent as Json object . may i know the reason . 0.4.0 version
billbogaiv opened this issue · 4 comments
Hi .. I used your hybrid with .net core 2.0 it does not read from request body which is sent as Json object . may i know the reason . 0.4.0 version
Originally posted by @vinayakshettar in #29 (comment)
Hi Just hybrid-model-binding latest version still it does not read Json Body and bind to model .Please let me know if i am missing anything
Make sure you're using the latest-version: https://www.nuget.org/packages/HybridModelBinding/0.15.0
I'm not able to reproduce any issues on my end. Try modifying the same project and change the DefaultController
to be [HttpPost]
:
POST http://localhost:12512
{
"name": "vinayakshettar"
}
The response will be:
<h3>Age: N/A</h3>
<h3>Name: vinayakshettar</h3>
This comment from another issue may provide insight into your problems of data not binding correctly: #34 (comment)
Closing due to inactivity.