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

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
主站蜘蛛池模板: 龙川县| 开远市| 鄂托克旗| 余庆县| 湟中县| 新闻| 东乡族自治县| 古交市| 邯郸县| 剑川县| 兰考县| 鸡西市| 崇阳县| 绍兴市| 乐东| 阿瓦提县| 天祝| 木兰县| 桃园市| 桂东县| 馆陶县| 厦门市| 海晏县| 吕梁市| 济南市| 平泉县| 洪湖市| 五华县| 达拉特旗| 天长市| 闸北区| 儋州市| 彭水| 女性| 江门市| 马山县| 温宿县| 博湖县| 蛟河市| 泽州县| 沁水县|