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

Creating API Views

In this chapter, we have to run our first version of a RESTful Web Service powered by Django. We will write API views to process different HTTP requests and we will perform HTTP requests with command-line and GUI tools. We will analyze how Django and Django REST framework process each HTTP request. We will gain an understanding of:

  • Creating Django views combined with serializer classes
  • CRUD operations with Django views and the request methods
  • Launching Django's development server
  • Making HTTP GET requests that target a collection of instances with command-line tools
  • Making HTTP GET requests that target a single instance with command-line tools
  • Making HTTP GET requests with command-line tools
  • Making HTTP POST requests with command-line tools
  • Making HTTP PUT requests with command-line tools
  • Making HTTP DELETE requests with command-line tools
  • Making HTTP GET requests with Postman      
  • Making HTTP POST requests with Postman
主站蜘蛛池模板: 博爱县| 岳阳县| 莱西市| 高青县| 无棣县| 呈贡县| 阿瓦提县| 宝山区| 敖汉旗| 保德县| 永靖县| 周口市| 黄骅市| 巫溪县| 辉南县| 田林县| 阿巴嘎旗| 萝北县| 涟源市| 永康市| 屏边| 阳西县| 栾城县| 资讯 | 雷州市| 麻栗坡县| 白水县| 吉木萨尔县| 麟游县| 手机| 同德县| 越西县| 桐梓县| 梁平县| 西乡县| 双城市| 瑞丽市| 罗田县| 宜宾县| 灵璧县| 新宁县|