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

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
主站蜘蛛池模板: 锦屏县| 陆丰市| 涞源县| 中超| 渑池县| 且末县| 措勤县| 海兴县| 天长市| 洛川县| 武平县| 扎兰屯市| 社旗县| 汨罗市| 甘洛县| 北京市| 裕民县| 南充市| 崇仁县| 金溪县| 宽甸| 芮城县| 稷山县| 桃园县| 万全县| 连城县| 庆云县| 泰顺县| 十堰市| 东乌珠穆沁旗| 陇川县| 高雄市| 荥经县| 绿春县| 嘉兴市| 崇左市| 屏东市| 英德市| 大连市| 繁昌县| 綦江县|