阅读背景:

如何使用ASP进行部分响应。净Web Api 2

来源:互联网 

I'm really new to API design and MVC concepts, but as far as I can tell, something like GET /api/products should return a list of products and GET /api/products/1 should return a single product. In terms of speed my feeling is that /api/products should return less information i.e. just id and name, whereas /api/products/1 should return more i.e. id, name, and description. I'm really new to API design and MVC concepts,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: