WebAPI POST [FromBody] not binding

后端 未结 0 1311
没有蜡笔的小新
没有蜡笔的小新 2021-02-11 16:47

I\'m posting JSON to a WebAPI controller, but the properties on the model are not being bound.

public void Post([FromBody] Models.Users.User model) {
    throw n         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题