Which method should i return from the controller method, after posting a collection of some entities in ASP .NET Core?

后端 未结 0 1515
野的像风
野的像风 2021-01-06 02:35

There are some methods used to indicate, that single object was created properly, and to produce 201 status code. For example CreatedAt, CreatedAtAction, CreatedAtRoute etc.

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