FromHeader value validation not working with Model data annotation

前端 未结 0 1032
一整个雨季
一整个雨季 2021-02-02 17:28

I have endpoint

[HttpPut]
        public async Task Put([FromHeader(Name = "username")] string username, UserInformation user)



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