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

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
主站蜘蛛池模板: 灵武市| 武安市| 吐鲁番市| 吐鲁番市| 上饶市| 蓝田县| 泰顺县| 禹城市| 腾冲县| 光山县| 扬中市| 鸡泽县| 梓潼县| 万年县| 乐业县| 鄯善县| 开平市| 历史| 鹤峰县| 呼和浩特市| 永泰县| 金阳县| 河源市| 江阴市| 自贡市| 永和县| 永登县| 井研县| 靖江市| 灌云县| 扬中市| 吉木萨尔县| 无锡市| 和林格尔县| 铁岭县| 峡江县| 淅川县| 盐城市| 运城市| 阿尔山市| 南丰县|