Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Web API 新手并寻求帮助。
我有一个具有列表的对象“Bar”
我想把啤酒邮寄到那个酒吧。(最终它会在我的数据库中填写一个相关表)
谢谢
塔尔
Web API 不是一个固执己见的框架。你可以这样做,但对你来说最有意义。就我个人而言,我会创建一个 BarBeersController 并发布到该控制器。您可以在响应消息中输入 201。如果你不想要,你就不需要身体。