python+django+layui开发post接口,前端页面通过form表单提交数据
流程:
1、数据库模版
2、编写post接口
3、分发路由
4、post请求接口
5、通过页面进行post提交数据
1、数据库模版

2、编写post接口

3、分发路由
主路由地址,

子路由地址,

4、postman查看接口请求

5、通过页面发送请求
页面,

js发送post请求,

6、页面结果

流程:
1、数据库模版
2、编写post接口
3、分发路由
4、post请求接口
5、通过页面进行post提交数据
1、数据库模版

2、编写post接口

3、分发路由
主路由地址,

子路由地址,

4、postman查看接口请求

5、通过页面发送请求
页面,

js发送post请求,

6、页面结果

