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

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
主站蜘蛛池模板: 娱乐| 盱眙县| 荆门市| 德清县| 江孜县| 永吉县| 韶山市| 贵州省| 大埔区| 方城县| 浏阳市| 茶陵县| 静海县| 南阳市| 湖南省| 疏附县| 安塞县| 朝阳市| 安徽省| 辰溪县| 依安县| 东乡县| 康乐县| 绥宁县| 和政县| 乌兰察布市| 叶城县| 巧家县| 隆昌县| 麻江县| 清新县| 平阴县| 上虞市| 图们市| 西盟| 甘谷县| 赤城县| 红安县| 安平县| 兴义市| 阿合奇县|