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

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
主站蜘蛛池模板: 嘉黎县| 吉安市| 托克逊县| 安徽省| 莒南县| 长顺县| 辰溪县| 仁布县| 竹北市| 扶风县| 和田县| 泾源县| 罗平县| 西昌市| 汤阴县| 安溪县| 西和县| 通江县| 铁岭市| 和政县| 正镶白旗| 天等县| 翁牛特旗| 陆丰市| 彰化市| 邹平县| 城市| 岳普湖县| 望奎县| 普兰县| 磐石市| 苍溪县| 汤阴县| 黄梅县| 浪卡子县| 疏勒县| 望奎县| 微山县| 沂源县| 南充市| 平塘县|