官术网_书友最值得收藏!

Level 1

Resources are exposed, but you still have an HTTP method. If you are at Level 0, then changing your web service to return a resource will take you from level 0 to level 1. You still have one HTTP method, but when your method is invoked, your service will pass back a resource:

    Request: 
    POST 
    diet/ate 
    Response 
    diet/ate/12789 
    Request: 
    POST 
    diet/ate 
    Response: 
    diet/ate/99000 

There is one endpoint diet/ate still, it returns many resources.

主站蜘蛛池模板: 清镇市| 灵宝市| 梁平县| 兴义市| 翼城县| 长泰县| 蓝山县| 桑日县| 阿拉善右旗| 和龙市| 邛崃市| 龙州县| 宁陵县| 浪卡子县| 四会市| 玉溪市| 石河子市| 朝阳区| 阳城县| 岳普湖县| 盐池县| 桐梓县| 肥西县| 阜平县| 阳谷县| 大同市| 延川县| 台南县| 陆良县| 威信县| 贵溪市| 探索| 天等县| 星子县| 志丹县| 遂昌县| 潮州市| 阿荣旗| 海丰县| 新宾| 五莲县|