1、在火狐浏览器附加组件搜索“RESTClient”,然后安装,如下图:

RESTClient安装使用

2、GET的使用方式:

例子:URL:http://127.0.0.1:8000/api/get_guest_list/?eid=1&&phone=13511001100RESTClient安装使用

3、POST的使用方式

(1)、点击Headers,选择Custom Header

(2)、输入Name:Content-Type   Value:application/x-www-form-urlencoded;charset=UTF-8

RESTClient安装使用

(3)、选择POST方式,输入Body

例子:URL:http://127.0.0.1:8000/api/add_guest/       

      Body:eid=1&realname=tom&phone=13711001123

RESTClient安装使用

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-29
  • 2021-09-30
  • 2021-10-08
  • 2022-01-12
  • 2021-11-28
猜你喜欢
  • 2021-12-14
  • 2021-04-30
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
相关资源
相似解决方案