Skip to content

Alicehahe/PythonApiAutoTestScripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PythonApiAutoTestScripts

一:接口相关的预备知识点

1、什么是接口及接口的作用
|1、接口是用于联结前后端交互的桥梁,前端将数据通过接口传递给后台,后台处理完数据通过接口返回给前端页面展示
2、接口的分类及接口请求的多种类型
|目前行业内接口使用协议主要分为两类:
        1.1、一类是http/https接口
        
        1.2、一类是webservice接口,及content-type为text/xml形式
        

|http/https请求的分类
        1.1 get/post/put/delete
            get请求一般用于请求服务端数据
            
            post请求一般是提交数据给服务端
            
            
            put请求一般是更新服务端口数据
            
            delete请求一般是删除服务端数据

3、http/https请求的组成

    |1、requst-header--用于现实提交数据的请求内容

    |2、reponse --用于显示服务器端返回数据内容

二:接口的抓包--使用工具fiddler或者charles

    |自行了解

#搭建Django开发框架

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published